Merge branch 'CURA-8126_Fix_Toolbox_not_closing_instantly_after_quitting' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2021-03-30 14:26:47 +02:00
commit aed653546a
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -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