ui: Don't show start window when opening project with double-click
* added menu option to show start window
This commit is contained in:
@@ -150,6 +150,18 @@ void QtMainView::handleMessage(MessageForceEnterLicense* message)
|
||||
);
|
||||
}
|
||||
|
||||
void QtMainView::handleMessage(MessageLoadProject* message)
|
||||
{
|
||||
bool showStartWindow = message->projectSettingsFilePath.empty();
|
||||
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
{
|
||||
m_window->loadWindow(showStartWindow);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
void QtMainView::handleMessage(MessageProjectEdit* message)
|
||||
{
|
||||
m_onQtThread(
|
||||
@@ -172,13 +184,3 @@ void QtMainView::handleMessage(MessageProjectNew* message)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
void QtMainView::handleMessage(MessageShowStartScreen* message)
|
||||
{
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
{
|
||||
m_window->showStartScreen();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user