mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:19:05 +08: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
@ -110,8 +110,9 @@ Item
|
|||||||
checked: base.currentExtruderIndex == index
|
checked: base.currentExtruderIndex == index
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
base.currentExtruderIndex = index
|
extruderSelection.focus = true; //Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||||
ExtruderManager.setActiveExtruderIndex(index)
|
base.currentExtruderIndex = index;
|
||||||
|
ExtruderManager.setActiveExtruderIndex(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
style: ButtonStyle {
|
style: ButtonStyle {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user