diff options
author | alekseisasin <a.sasin@ultimaker.com> | 2018-09-26 18:06:24 +0300 |
---|---|---|
committer | alekseisasin <a.sasin@ultimaker.com> | 2018-09-26 18:06:24 +0300 |
commit | 2a201cef23b8e2620cecf70f84b42568702bee91 (patch) | |
tree | 366d0d50d6106bec87bc2e6fe8002965e89b0271 | |
parent | baa8064ec7bff42edba955195e345d07d92cdeef (diff) |
Prevent cura crash after setting Print as Support in per object setting
menu
CURA-5766
-rw-r--r-- | plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml index 596fbd2e99..4c9ba2169c 100644 --- a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml +++ b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml @@ -185,6 +185,12 @@ Item { { selectedObjectId: UM.ActiveTool.properties.getValue("SelectedObjectId") } + + // For some reason the model object is updated after removing him from the memory and + // it happens only on Windows. For this reason, set the destroyed value manually. + Component.onDestruction: { + setDestroyed(true); + } } delegate: Row |