mirror of
https://github.com/tnodir/fort
synced 2024-11-15 13:26:48 +00:00
UI: OptionsPage: Minor refactor
This commit is contained in:
parent
e684bc51a8
commit
42a40df8d5
@ -464,7 +464,7 @@ void OptionsPage::setupGlobalBox()
|
|||||||
ini()->setExplorerIntegrated(checked);
|
ini()->setExplorerIntegrated(checked);
|
||||||
ctrl()->setIniEdited();
|
ctrl()->setIniEdited();
|
||||||
});
|
});
|
||||||
m_cbExplorerMenu->setEnabled(settings()->hasService() || settings()->isUserAdmin());
|
m_cbExplorerMenu->setEnabled(settings()->hasMasterAdmin());
|
||||||
|
|
||||||
m_cbHotKeys = ControlUtil::createCheckBox(iniUser()->hotKeyEnabled(), [&](bool checked) {
|
m_cbHotKeys = ControlUtil::createCheckBox(iniUser()->hotKeyEnabled(), [&](bool checked) {
|
||||||
iniUser()->setHotKeyEnabled(checked);
|
iniUser()->setHotKeyEnabled(checked);
|
||||||
|
Loading…
Reference in New Issue
Block a user