Retain tethering status between reboots

This commit is contained in:
FrogAi
2024-02-27 16:34:47 -07:00
parent 1585cbcd25
commit 6661c4dd89
5 changed files with 18 additions and 0 deletions

View File

@@ -127,6 +127,10 @@ public:
QObject::connect(&toggle, &Toggle::stateChanged, this, &ToggleControl::toggleFlipped);
}
void setVisualOn() {
toggle.togglePosition();
}
void setEnabled(bool enabled) {
toggle.setEnabled(enabled);
toggle.update();