mirror of
https://github.com/tnodir/fort
synced 2024-11-15 12:56:16 +00:00
UI: Options: "Log debug.." requires restart too.
This commit is contained in:
parent
8fe2139ca1
commit
a7e1e570d6
@ -92,12 +92,12 @@ void OptionsPage::saveIni(bool &restartRequired)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
settings()->setDebug(m_cbLogDebug->isChecked());
|
if (settings()->debug() != m_cbLogDebug->isChecked()
|
||||||
|
|| settings()->console() != m_cbLogConsole->isChecked()) {
|
||||||
if (settings()->console() != m_cbLogConsole->isChecked()) {
|
settings()->setDebug(m_cbLogDebug->isChecked());
|
||||||
|
settings()->setConsole(m_cbLogConsole->isChecked());
|
||||||
restartRequired = true;
|
restartRequired = true;
|
||||||
}
|
}
|
||||||
settings()->setConsole(m_cbLogConsole->isChecked());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OptionsPage::onRetranslateUi()
|
void OptionsPage::onRetranslateUi()
|
||||||
|
Loading…
Reference in New Issue
Block a user