mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 21:01:59 +02:00
[ui] ComputeUnsaved: set a more straightforward text for Discard button
avoid potentially ambiguous platform-dependent text
This commit is contained in:
parent
298207a569
commit
52c99a803e
1 changed files with 4 additions and 0 deletions
|
@ -151,6 +151,10 @@ ApplicationWindow {
|
|||
detailedText: "Default cache folder: " + _reconstruction.graph.cacheDir
|
||||
helperText: "Save project first?"
|
||||
standardButtons: Dialog.Discard | Dialog.Cancel | Dialog.Save
|
||||
Component.onCompleted: {
|
||||
// set up discard button text
|
||||
standardButton(Dialog.Discard).text = "Continue without Saving"
|
||||
}
|
||||
|
||||
onDiscarded: { close(); _reconstruction.execute(null) }
|
||||
onAccepted: saveAsAction.trigger()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue