mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 22:05:51 +08:00
Make quit button quit Cura
Contributes to issue CURA-8587.
This commit is contained in:
parent
3c54964417
commit
e646d53b53
@ -271,6 +271,11 @@ Window
|
|||||||
{
|
{
|
||||||
id: quitButton
|
id: quitButton
|
||||||
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:
|
||||||
|
{
|
||||||
|
marketplaceDialog.hide();
|
||||||
|
CuraApplication.closeApplication();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user