mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-29 12:37:57 +01:00
fix: do not quit automatically when last window is "closed"
Qt confuses closed and hidden
This commit is contained in:
1 parent
60292465e9
commit
96e255e4ef
2 files changed
+1
-1
No files matched your search
@@ -212,6 +212,7 @@ def main():
|
||||
with redirect_stdout(SimpleFileLikeFromLogOutputFunc(logger.info)):
|
||||
with redirect_stderr(SimpleFileLikeFromLogOutputFunc(logger.error)):
|
||||
app = QApplication(sys.argv)
|
||||
app.setQuitOnLastWindowClosed(False)
|
||||
app.setApplicationName("BEC Figure")
|
||||
module_path = os.path.dirname(bec_widgets.__file__)
|
||||
icon = QIcon()
|
||||
|
||||
Reference in new issue
Block a user