Fixes CURA-4789

Emits `sceneChanged` which `PrintInformation` listens for and then resets with. Same result re: print time, but also will update anythign else which is listening for `sceneChanged`.
This commit is contained in:
Ian Paschal 2018-01-16 17:03:52 +01:00
parent ba1f915633
commit fad43be23b

View File

@ -1062,7 +1062,8 @@ class CuraApplication(QtApplication):
Selection.clear() Selection.clear()
# Reset the print information: # Reset the print information:
self._print_information.setToZeroPrintInformation(self.getBuildPlateModel().activeBuildPlate) self.getController().getScene().sceneChanged.emit(node)
# self._print_information.setToZeroPrintInformation(self.getBuildPlateModel().activeBuildPlate)
# stay on the same build plate # stay on the same build plate
#self.getCuraSceneController().setActiveBuildPlate(0) # Select first build plate #self.getCuraSceneController().setActiveBuildPlate(0) # Select first build plate