mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:29:01 +08:00
Reset confirm exit dialog text upon close
CURA-5384
This commit is contained in:
parent
49bd249819
commit
6d34d77b6b
@ -720,6 +720,14 @@ UM.MainWindow
|
||||
onYes: CuraApplication.callConfirmExitDialogCallback(true)
|
||||
onNo: CuraApplication.callConfirmExitDialogCallback(false)
|
||||
onRejected: CuraApplication.callConfirmExitDialogCallback(false)
|
||||
onVisibilityChanged:
|
||||
{
|
||||
if (!visible)
|
||||
{
|
||||
// reset the text to default because other modules may change the message text.
|
||||
text = catalog.i18nc("@label", "Are you sure you want to exit Cura?");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user