mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Move file open queue handling later
At the point where the file open queue was processed, the events weren't handled yet. Here's to hoping that they will be handled at this point (but I must commit before testing...). Contributes to issue CURA-730.
This commit is contained in:
parent
232713a019
commit
d27d4df8ff
1 changed files with 2 additions and 3 deletions
|
@ -82,9 +82,6 @@ class CuraApplication(QtApplication):
|
|||
|
||||
super().__init__(name = "cura", version = CuraVersion)
|
||||
|
||||
for file_name in self._open_file_queue: #Open all the files that were queued up while plug-ins were loading.
|
||||
self._openFile(file_name)
|
||||
|
||||
self.setWindowIcon(QIcon(Resources.getPath(Resources.Images, "cura-icon.png")))
|
||||
|
||||
self.setRequiredPlugins([
|
||||
|
@ -212,6 +209,8 @@ class CuraApplication(QtApplication):
|
|||
|
||||
for file in self.getCommandLineOption("file", []):
|
||||
self._openFile(file)
|
||||
for file_name in self._open_file_queue: #Open all the files that were queued up while plug-ins were loading.
|
||||
self._openFile(file_name)
|
||||
|
||||
self.exec_()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue