Skip to content

Commit

Permalink
Refresh strict mode killswitch after global toggle change
Browse files Browse the repository at this point in the history
  • Loading branch information
outspace committed Mar 1, 2025
1 parent 6ea21b8 commit 0cf9d3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/ui/controllers/settingsController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0cf9d3c

Please sign in to comment.