mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06: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
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue