Merge branch 'master' of github.com:Ultimaker/Cura into ui_rework_4_0

This commit is contained in:
Jaime van Kessel 2018-11-27 17:55:13 +01:00
commit 94c4366194
5 changed files with 48 additions and 45 deletions

View file

@ -55,14 +55,14 @@ class PostProcessingPlugin(QObject, Extension):
def selectedScriptDefinitionId(self) -> Optional[str]:
try:
return self._script_list[self._selected_script_index].getDefinitionId()
except:
except IndexError:
return ""
@pyqtProperty(str, notify=selectedIndexChanged)
def selectedScriptStackId(self) -> Optional[str]:
try:
return self._script_list[self._selected_script_index].getStackId()
except:
except IndexError:
return ""
## Execute all post-processing scripts on the gcode.