Browse Source

Merge branch 'fix_machine_settings_dialog' into 4.0

Ghostkeeper 6 years ago
parent
commit
75d1d563ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/MachineSettingsAction/MachineSettingsAction.qml

+ 2 - 1
plugins/MachineSettingsAction/MachineSettingsAction.qml

@@ -13,7 +13,8 @@ import Cura 1.0 as Cura
 Cura.MachineAction
 {
     id: base
-    property var extrudersModel: CuraApplication.getExtrudersModel()
+    property var extrudersModel: Cura.ExtrudersModel{} // Do not retrieve the Model from a backend. Otherwise the tabs
+                                                       // in tabView will not removed/updated. Probably QML bug
     property int extruderTabsCount: 0
 
     property var activeMachineId: Cura.MachineManager.activeMachine != null ? Cura.MachineManager.activeMachine.id : ""