mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 12:21:26 -07:00
Ensure that the display matches with the backend active extruder data
This commit is contained in:
parent
bf53baccee
commit
a5ba68bae3
2 changed files with 6 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ Column
|
|||
id: base;
|
||||
|
||||
property int totalHeightHeader: childrenRect.height
|
||||
property int currentExtruderIndex: -1;
|
||||
property int currentExtruderIndex:ExtruderManager.activeExtruderIndex;
|
||||
|
||||
spacing: UM.Theme.getSize("default_margin").height
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ Column
|
|||
{
|
||||
base.currentExtruderIndex = -1;
|
||||
forceActiveFocus()
|
||||
ExtruderManager.setActiveExtruderIndex(0);
|
||||
ExtruderManager.setActiveExtruderIndex(base.currentExtruderIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue