From 11b6a3fd1c2a874911c10612c6a81f5d1acce29a Mon Sep 17 00:00:00 2001 From: 7174Andy Date: Tue, 17 Dec 2024 14:29:17 -0800 Subject: [PATCH] fix toggle case --- sleap/gui/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sleap/gui/app.py b/sleap/gui/app.py index ccca4278f..8b711c806 100644 --- a/sleap/gui/app.py +++ b/sleap/gui/app.py @@ -1339,6 +1339,8 @@ def updateStatusMessage(self, message: Optional[str] = None): hide_key = self.shortcuts["show instances"].toString() message += f" [Hidden] Press '{hide_key}' to toggle." self.statusBar().setStyleSheet("color: red") + else: + self.statusBar().setStyleSheet("") self.statusBar().showMessage(message)