Skip to content

Commit

Permalink
PicardDialog.__init__(): call parent class __init__() before anything
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed May 29, 2024
1 parent 6b5d673 commit 2ec8248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ class PicardDialog(QtWidgets.QDialog, PreserveGeometry):
ready_for_display = QtCore.pyqtSignal()

def __init__(self, parent=None):
self.tagger = QtCore.QCoreApplication.instance()
super().__init__(parent=parent, f=self.flags)
self.tagger = QtCore.QCoreApplication.instance()
self.__shown = False
self.ready_for_display.connect(self.restore_geometry)

Expand Down

0 comments on commit 2ec8248

Please sign in to comment.