mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 17:13:57 +00:00
PICARD-1211: Fix disabled close button in Windows
This commit is contained in:
@@ -53,7 +53,7 @@ class PreserveGeometry:
|
||||
|
||||
class PicardDialog(QtWidgets.QDialog, PreserveGeometry):
|
||||
|
||||
flags = QtCore.Qt.WindowSystemMenuHint | QtCore.Qt.WindowTitleHint
|
||||
flags = QtCore.Qt.WindowSystemMenuHint | QtCore.Qt.WindowTitleHint | QtCore.Qt.WindowCloseButtonHint
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent, self.flags)
|
||||
|
||||
Reference in New Issue
Block a user