mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Reset confirm exit dialog text upon close
CURA-5384
This commit is contained in:
parent
49bd249819
commit
6d34d77b6b
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue