From 68347afc480b39b44efb56adc065e0f8da78ee20 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Thu, 18 Jan 2018 14:40:15 +0100 Subject: [PATCH] CURA-4033 fix init order of print information --- cura/CuraApplication.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index bfaeb26d8d..b825e456c2 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -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_()