From a528c72c9e55b0818e7c356e613dea85aae714cc Mon Sep 17 00:00:00 2001 From: destinyk <destiny.kuehn@student.nmt.edu> Date: Fri, 8 Dec 2023 16:53:58 -0700 Subject: [PATCH] fix slider --- mseedpeek/mseedpeek.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mseedpeek/mseedpeek.py b/mseedpeek/mseedpeek.py index 0112f2d..613ac0c 100644 --- a/mseedpeek/mseedpeek.py +++ b/mseedpeek/mseedpeek.py @@ -719,7 +719,6 @@ class MainWindow(QWidget): self.slider_box.hide() else: self.slider_box.show() - self.slider_box.show() self.maybe_read_hdrs() def clicked_find(self): @@ -793,6 +792,7 @@ class MainWindow(QWidget): self.blktype_box.hide() self.blkinfo_box.hide() self.blk_vars_box.hide() + self.slider_box.hide() else: widget = self.jump_box.currentWidget() for child in widget.findChildren(QWidget): @@ -941,6 +941,7 @@ class MainWindow(QWidget): self.hide_show("show") self.header_endianess_text.setText(self.byte_order) self.jump_box.setCurrentIndex(self.verb_var) + self.jump_box.show() self.update_infobar("", "yellow") # hack, widget was behaving weird for some reason -- GitLab