mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Fix Toolbox window not closing instantly after pressing "Quit Cura"
After installing a package and hitting the "Close Ultimaker Cura" button, the Toolbox window was remaining open for a few seconds, even though the Cura window was instantly closing. This is not fixed by explicitly hiding the Toolbox dialog once that button is pressed. CURA-8126
This commit is contained in:
parent
8d194d79b5
commit
54b30f20a3
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,11 @@ Item
|
||||||
}
|
}
|
||||||
height: UM.Theme.getSize("toolbox_footer_button").height
|
height: UM.Theme.getSize("toolbox_footer_button").height
|
||||||
text: catalog.i18nc("@info:button, %1 is the application name", "Quit %1").arg(CuraApplication.applicationDisplayName)
|
text: catalog.i18nc("@info:button, %1 is the application name", "Quit %1").arg(CuraApplication.applicationDisplayName)
|
||||||
onClicked: toolbox.restart()
|
onClicked:
|
||||||
|
{
|
||||||
|
base.hide()
|
||||||
|
toolbox.restart()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolboxShadow
|
ToolboxShadow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue