From 31689fe7d719ba4b78c93cadfdbd2bae5daeb443 Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Mon, 11 Sep 2023 19:29:15 +0100 Subject: [PATCH] fix color of flush-button in toggled state fixes #490 --- iblrig/gui/wizard.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iblrig/gui/wizard.py b/iblrig/gui/wizard.py index 6ca2c3bed..9ef8864b5 100644 --- a/iblrig/gui/wizard.py +++ b/iblrig/gui/wizard.py @@ -261,9 +261,11 @@ def flush(self): return if self.uiPushFlush.isChecked(): + self.uiPushFlush.setStyleSheet('QPushButton {background-color: rgb(128, 128, 255);}') self.uiPushStart.setEnabled(False) else: bpod.close() + self.uiPushFlush.setStyleSheet('') self.uiPushStart.setEnabled(True) def help(self):