From a0de97723b45901502fd599c0fb359db36d738de Mon Sep 17 00:00:00 2001 From: leminlimez <59540996+leminlimez@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:29:08 -0500 Subject: [PATCH] fix show risky toggle showing when no device is connected --- gui/main_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/main_window.py b/gui/main_window.py index b11a49b..fd9b5d2 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -244,6 +244,7 @@ class MainWindow(QtWidgets.QMainWindow): self.ui.applyPageBtn.hide() self.ui.resetPairBtn.hide() + self.ui.showRiskyChk.hide() else: self.ui.devicePicker.setEnabled(True) # populate the ComboBox with device names @@ -272,6 +273,7 @@ class MainWindow(QtWidgets.QMainWindow): self.ui.advancedOptionsPageContent.setDisabled(False) self.ui.resetPairBtn.show() + self.ui.showRiskyChk.show() # update the selected device self.ui.devicePicker.setCurrentIndex(0)