fix: Show first server start message only in server mode
This commit is contained in:
parent
393a006773
commit
eaa4c71d6e
1 changed files with 3 additions and 1 deletions
|
|
@ -928,7 +928,9 @@ void MainWindow::coreProcessStateChanged(CoreProcessState state)
|
|||
if (state == CoreProcessState::Started && !Settings::value(Settings::Core::StartedBefore).toBool()) {
|
||||
qDebug() << "recording that core has started";
|
||||
Settings::setValue(Settings::Core::StartedBefore, true);
|
||||
messages::showFirstServerStartMessage(this);
|
||||
if (m_coreProcess.mode() == CoreMode::Server) {
|
||||
messages::showFirstServerStartMessage(this);
|
||||
}
|
||||
}
|
||||
|
||||
if (state == CoreProcessState::Started || state == CoreProcessState::Starting ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue