mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Don't open file on open file event
CURA-11288
This commit is contained in:
parent
87caa0307a
commit
ad871c627e
1 changed files with 4 additions and 4 deletions
|
@ -1163,10 +1163,10 @@ class CuraApplication(QtApplication):
|
||||||
)
|
)
|
||||||
result_message.show()
|
result_message.show()
|
||||||
|
|
||||||
if self._plugins_loaded:
|
# if self._plugins_loaded:
|
||||||
self._openFile(event.file())
|
# self._openFile(event.file())
|
||||||
else:
|
# else:
|
||||||
self._open_file_queue.append(event.file())
|
# self._open_file_queue.append(event.file())
|
||||||
|
|
||||||
if int(event.type()) == 20: # 'QEvent.Type.Quit' enum isn't there, even though it should be according to docs.
|
if int(event.type()) == 20: # 'QEvent.Type.Quit' enum isn't there, even though it should be according to docs.
|
||||||
# Once we're at this point, everything should have been flushed already (past OnExitCallbackManager).
|
# Once we're at this point, everything should have been flushed already (past OnExitCallbackManager).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue