mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Change focus upon extruder switch
This applies a setting that is currently being typed by the user. Otherwise it would take the currently being typed value along to the next tab, since it can't update a setting value while it is in focus. Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
4bdd5713f1
commit
6a520cad47
1 changed files with 3 additions and 2 deletions
|
@ -110,8 +110,9 @@ Item
|
|||
checked: base.currentExtruderIndex == index
|
||||
onClicked:
|
||||
{
|
||||
base.currentExtruderIndex = index
|
||||
ExtruderManager.setActiveExtruderIndex(index)
|
||||
extruderSelection.focus = true; //Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||
base.currentExtruderIndex = index;
|
||||
ExtruderManager.setActiveExtruderIndex(index);
|
||||
}
|
||||
|
||||
style: ButtonStyle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue