mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-09 01:04:00 +00:00
PicardDialog.__init__(): call parent class __init__() before anything
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user