mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +08: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
@ -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…
x
Reference in New Issue
Block a user