fix: Show first server start message only in server mode

This commit is contained in:
Nick Bolton
2025-05-15 17:25:58 +01:00
parent 393a006773
commit eaa4c71d6e

View File

@ -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 ||