Skip to content

Commit 52c99a8

Browse files
committed
[ui] ComputeUnsaved: set a more straightforward text for Discard button
avoid potentially ambiguous platform-dependent text
1 parent 298207a commit 52c99a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meshroom/ui/qml/main.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ ApplicationWindow {
151151
detailedText: "Default cache folder: " + _reconstruction.graph.cacheDir
152152
helperText: "Save project first?"
153153
standardButtons: Dialog.Discard | Dialog.Cancel | Dialog.Save
154+
Component.onCompleted: {
155+
// set up discard button text
156+
standardButton(Dialog.Discard).text = "Continue without Saving"
157+
}
154158

155159
onDiscarded: { close(); _reconstruction.execute(null) }
156160
onAccepted: saveAsAction.trigger()

0 commit comments

Comments
 (0)