diff options
Diffstat (limited to 'Widgets/ICPage.py')
-rw-r--r-- | Widgets/ICPage.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Widgets/ICPage.py b/Widgets/ICPage.py index a298d2b..3b03b35 100644 --- a/Widgets/ICPage.py +++ b/Widgets/ICPage.py @@ -209,12 +209,13 @@ class ICWidget(Base, Form): def toggle_TirePressureDock(self): if self.TirePressureBtn.isChecked(): self.Hide_TirePressure(True) + self.TirePressureBtn.setChecked(True) else: self.Hide_TirePressure(False) + self.TirePressureBtn.setChecked(False) def Hide_TirePressure(self, bool_arg): - widthExtended = 0 if bool_arg else 400 - self.TirePressureDock.setFixedWidth(widthExtended) + self.TirePressureDock.setVisible(bool_arg) def Playback_connections(self): |