mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Merge branch '4.1' of github.com:Ultimaker/Cura
This commit is contained in:
commit
df75183eda
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ class PostProcessingPlugin(QObject, Extension):
|
||||||
self._script_list.clear()
|
self._script_list.clear()
|
||||||
if not new_stack.getMetaDataEntry("post_processing_scripts"): # Missing or empty.
|
if not new_stack.getMetaDataEntry("post_processing_scripts"): # Missing or empty.
|
||||||
self.scriptListChanged.emit() # Even emit this if it didn't change. We want it to write the empty list to the stack's metadata.
|
self.scriptListChanged.emit() # Even emit this if it didn't change. We want it to write the empty list to the stack's metadata.
|
||||||
|
self.setSelectedScriptIndex(-1)
|
||||||
return
|
return
|
||||||
|
|
||||||
self._script_list.clear()
|
self._script_list.clear()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue