From 54b30f20a34db787778671f1eb2981a185f96c83 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Tue, 30 Mar 2021 11:49:56 +0200 Subject: [PATCH] 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 --- plugins/Toolbox/resources/qml/components/ToolboxFooter.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml b/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml index 293e918d92..9863bd9a93 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml @@ -44,7 +44,11 @@ Item } height: UM.Theme.getSize("toolbox_footer_button").height text: catalog.i18nc("@info:button, %1 is the application name", "Quit %1").arg(CuraApplication.applicationDisplayName) - onClicked: toolbox.restart() + onClicked: + { + base.hide() + toolbox.restart() + } } ToolboxShadow