src: various fixes
* fixed crash when hovering GraphNode while expanding/collapsing it * fixed clang warnings * fixed GraphNodeExpandToggle to show empty circle * fixed Searchbar showing empty block when nothing was parsed * made template related edges in GraphView red
This commit is contained in:
@@ -99,12 +99,15 @@ void Application::handleMessage(MessageFinishedParsing* message)
|
||||
|
||||
Id mainId = m_storageAccessProxy->getIdForNodeWithName("main");
|
||||
|
||||
if (!mainId)
|
||||
if (!mainId && m_storageAccessProxy->getNameForNodeWithId(1).size() > 0)
|
||||
{
|
||||
mainId = 1;
|
||||
}
|
||||
|
||||
MessageActivateTokens(mainId).dispatch();
|
||||
if (mainId)
|
||||
{
|
||||
MessageActivateTokens(mainId).dispatch();
|
||||
}
|
||||
}
|
||||
|
||||
void Application::handleMessage(MessageLoadProject* message)
|
||||
|
||||
Reference in New Issue
Block a user