mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Force focus instead of requesting it.
Fixes CURA-1778
This commit is contained in:
parent
8b46dd197f
commit
91bfd2de27
@ -117,6 +117,7 @@ Column
|
||||
onGlobalContainerChanged:
|
||||
{
|
||||
base.currentExtruderIndex = -1;
|
||||
forceActiveFocus()
|
||||
ExtruderManager.setActiveExtruderIndex(0);
|
||||
}
|
||||
}
|
||||
@ -134,7 +135,7 @@ Column
|
||||
|
||||
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;
|
||||
ExtruderManager.setActiveExtruderIndex(index);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user