From e65d37a28e170440d84348eb43f11372db61164b Mon Sep 17 00:00:00 2001
From: destinyk <destiny.kuehn@student.nmt.edu>
Date: Fri, 8 Dec 2023 16:38:29 -0700
Subject: [PATCH] fix slider not appearing for other rbuttons

---
 mseedpeek/mseedpeek.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mseedpeek/mseedpeek.py b/mseedpeek/mseedpeek.py
index fba6dad..0112f2d 100644
--- a/mseedpeek/mseedpeek.py
+++ b/mseedpeek/mseedpeek.py
@@ -719,6 +719,7 @@ class MainWindow(QWidget):
                 self.slider_box.hide()
             else:
                 self.slider_box.show()
+                self.slider_box.show()
         self.maybe_read_hdrs()
 
     def clicked_find(self):
@@ -1305,7 +1306,7 @@ class MainWindow(QWidget):
         """
 
         selectkey = self.unique_box.keys_menu.currentText().split(":")
-        if selectkey == "*":
+        if selectkey[0] == "*":
             self.fill_unique()
             return
         unique_item = QTreeWidgetItem()
@@ -1321,7 +1322,6 @@ class MainWindow(QWidget):
                 self.unique_box.unique_info_tree.addTopLevelItem(unique_item)
                 return
 
-
     def fill_unique(self):
         """
         Fills unique info on HdrDisplay
-- 
GitLab