mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
CURA-4033 fix init order of print information
This commit is contained in:
parent
5e99fd6c1e
commit
68347afc48
1 changed files with 4 additions and 4 deletions
|
|
@ -661,6 +661,10 @@ class CuraApplication(QtApplication):
|
||||||
self._volume = BuildVolume.BuildVolume(self.getController().getScene().getRoot())
|
self._volume = BuildVolume.BuildVolume(self.getController().getScene().getRoot())
|
||||||
Arrange.build_volume = self._volume
|
Arrange.build_volume = self._volume
|
||||||
|
|
||||||
|
# initialize info objects
|
||||||
|
self._print_information = PrintInformation.PrintInformation()
|
||||||
|
self._cura_actions = CuraActions.CuraActions(self)
|
||||||
|
|
||||||
# Detect in which mode to run and execute that mode
|
# Detect in which mode to run and execute that mode
|
||||||
if self.getCommandLineOption("headless", False):
|
if self.getCommandLineOption("headless", False):
|
||||||
self.runWithoutGUI()
|
self.runWithoutGUI()
|
||||||
|
|
@ -673,10 +677,6 @@ class CuraApplication(QtApplication):
|
||||||
for file_name in self._open_file_queue: # Open all the files that were queued up while plug-ins were loading.
|
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._openFile(file_name)
|
||||||
|
|
||||||
# initialize info objects
|
|
||||||
self._print_information = PrintInformation.PrintInformation()
|
|
||||||
self._cura_actions = CuraActions.CuraActions(self)
|
|
||||||
|
|
||||||
self._started = True
|
self._started = True
|
||||||
self.exec_()
|
self.exec_()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue