mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Create post-processing tool button on start-up
This causes the button to display immediately on start-up if there were any post-processing scripts in the current machine. If there weren't, then no button will be shown (as specified in the QML). Previously the QML was only loaded first upon clicking the item in the extensions menu. Now it has to be loaded on start-up in order to display that button.
This commit is contained in:
parent
09f580de70
commit
8525131849
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class PostProcessingPlugin(QObject, Extension):
|
|||
|
||||
Application.getInstance().getOutputDeviceManager().writeStarted.connect(self.execute)
|
||||
Application.getInstance().globalContainerStackChanged.connect(self._onGlobalContainerStackChanged) #When the current printer changes, update the list of scripts.
|
||||
Application.getInstance().mainWindowChanged.connect(self._createView) #When the main window is created, create the view so that we can display the post-processing icon if necessary.
|
||||
self.scriptListChanged.connect(self._writeScriptsToStack) #Whenever there is a change, save it into the stack.
|
||||
|
||||
selectedIndexChanged = pyqtSignal()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue