mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:15:54 +08:00
Grab focus when the dialog is hidden
This ensures that all components in the loader lose the focus and thus trigger an update CURA-9523
This commit is contained in:
parent
ceb5fe75cf
commit
8e41a03c58
@ -93,6 +93,13 @@ UM.ManagementPage
|
||||
maximumWidth: minimumWidth * 3
|
||||
maximumHeight: minimumHeight * 3
|
||||
backgroundColor: UM.Theme.getColor("main_background")
|
||||
onVisibleChanged:
|
||||
{
|
||||
if(!visible)
|
||||
{
|
||||
actionDialog.loader.item.focus = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
UM.ConfirmRemoveDialog
|
||||
|
Loading…
x
Reference in New Issue
Block a user