Skip to content

Commit

Permalink
ModuleScaleBar call proper super class init
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerum committed Dec 3, 2024
1 parent 1c38ea1 commit 41e98d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion saenopy/gui/common/ModuleColorBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion saenopy/gui/common/ModuleScaleBar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 41e98d5

Please sign in to comment.