Retain tethering status between reboots

This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent 34e5afb096
commit a37d8e5830
6 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();