From 41e98d53f03f8f234659b29584775e122546e183 Mon Sep 17 00:00:00 2001 From: rgerum <14153051+rgerum@users.noreply.github.com> Date: Tue, 3 Dec 2024 09:07:50 -0500 Subject: [PATCH] ModuleScaleBar call proper super class init --- saenopy/gui/common/ModuleColorBar.py | 2 +- saenopy/gui/common/ModuleScaleBar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/saenopy/gui/common/ModuleColorBar.py b/saenopy/gui/common/ModuleColorBar.py index 7a56ecf..38498c8 100644 --- a/saenopy/gui/common/ModuleColorBar.py +++ b/saenopy/gui/common/ModuleColorBar.py @@ -11,7 +11,7 @@ class ModuleColorBar(QtWidgets.QGroupBox): tick_count = 3 def __init__(self, parent, view): - QtWidgets.QWidget.__init__(self) + QtWidgets.QGroupBox.__init__(self) self.parent = parent self.font = QtGui.QFont() diff --git a/saenopy/gui/common/ModuleScaleBar.py b/saenopy/gui/common/ModuleScaleBar.py index 0703659..53103e1 100644 --- a/saenopy/gui/common/ModuleScaleBar.py +++ b/saenopy/gui/common/ModuleScaleBar.py @@ -6,7 +6,7 @@ class ModuleScaleBar(QtWidgets.QGroupBox): pixtomu = None def __init__(self, parent, view): - QtWidgets.QWidget.__init__(self) + QtWidgets.QGroupBox.__init__(self) self.parent = parent self.font = QtGui.QFont()