Refresh strict mode killswitch after global toggle change
This commit is contained in:
parent
6ea21b852f
commit
0cf9d3c9bd
1 changed files with 6 additions and 0 deletions
|
|
@ -246,6 +246,12 @@ void SettingsController::toggleKillSwitch(bool enable)
|
|||
{
|
||||
m_settings->setKillSwitchEnabled(enable);
|
||||
emit killSwitchEnabledChanged();
|
||||
if (enable == false) {
|
||||
emit strictKillSwitchEnabledChanged(false);
|
||||
} else {
|
||||
emit strictKillSwitchEnabledChanged(isStrictKillSwitchEnabled());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bool SettingsController::isStrictKillSwitchEnabled()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue