Merge pull request #2355 from pypeclub/bugfix/minimize_launcher_btn_on_mac

Launcher: Minimize button on MacOs
This commit is contained in:
Jakub Trllo 2021-12-01 14:04:14 +01:00 committed by GitHub
commit d5971eea6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,7 +243,11 @@ class LauncherWindow(QtWidgets.QDialog):
# Allow minimize
self.setWindowFlags(
self.windowFlags() | QtCore.Qt.WindowMinimizeButtonHint
QtCore.Qt.Window
| QtCore.Qt.CustomizeWindowHint
| QtCore.Qt.WindowTitleHint
| QtCore.Qt.WindowMinimizeButtonHint
| QtCore.Qt.WindowCloseButtonHint
)
project_model = ProjectModel(self.dbcon)