mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:55:53 +08:00
CURA-4033 fix init order of print information
This commit is contained in:
parent
5e99fd6c1e
commit
68347afc48
@ -661,6 +661,10 @@ class CuraApplication(QtApplication):
|
||||
self._volume = BuildVolume.BuildVolume(self.getController().getScene().getRoot())
|
||||
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
|
||||
if self.getCommandLineOption("headless", False):
|
||||
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.
|
||||
self._openFile(file_name)
|
||||
|
||||
# initialize info objects
|
||||
self._print_information = PrintInformation.PrintInformation()
|
||||
self._cura_actions = CuraActions.CuraActions(self)
|
||||
|
||||
self._started = True
|
||||
self.exec_()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user