Browse Source

Don't open file on open file event

CURA-11288
c.lamboo 1 year ago
parent
commit
ad871c627e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      cura/CuraApplication.py

+ 4 - 4
cura/CuraApplication.py

@@ -1163,10 +1163,10 @@ class CuraApplication(QtApplication):
             )
             result_message.show()
 
-            if self._plugins_loaded:
-                self._openFile(event.file())
-            else:
-                self._open_file_queue.append(event.file())
+            # if self._plugins_loaded:
+            #     self._openFile(event.file())
+            # else:
+            #     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.
             # Once we're at this point, everything should have been flushed already (past OnExitCallbackManager).