mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Force focus instead of requesting it.
Fixes CURA-1778
This commit is contained in:
parent
8b46dd197f
commit
91bfd2de27
1 changed files with 2 additions and 1 deletions
|
@ -117,6 +117,7 @@ Column
|
||||||
onGlobalContainerChanged:
|
onGlobalContainerChanged:
|
||||||
{
|
{
|
||||||
base.currentExtruderIndex = -1;
|
base.currentExtruderIndex = -1;
|
||||||
|
forceActiveFocus()
|
||||||
ExtruderManager.setActiveExtruderIndex(0);
|
ExtruderManager.setActiveExtruderIndex(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,7 +135,7 @@ Column
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
focus = true; //Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
forceActiveFocus() //Changing focus applies the currently-being-typed values so it can change the displayed setting values.
|
||||||
base.currentExtruderIndex = index;
|
base.currentExtruderIndex = index;
|
||||||
ExtruderManager.setActiveExtruderIndex(index);
|
ExtruderManager.setActiveExtruderIndex(index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue