Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alicevision/meshroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Lanthony <yann.lanthony@gmail.com>2018-08-09 11:01:11 +0300
committerGitHub <noreply@github.com>2018-08-09 11:01:11 +0300
commit2361306ae13f34e9059fb08b0cb9aff0fed71575 (patch)
tree5df7e2706cd65a4552b6509744eda00216335c42
parent298207a56913a52dd1da820fbd5a602dedac2c75 (diff)
parent52c99a803ec323bf51e10dba19a2108f92a06d50 (diff)
Merge pull request #172 from alicevision/dev_uidialog
[ui] ComputeUnsaved: set a more straightforward text for Discard button
-rwxr-xr-xmeshroom/ui/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/meshroom/ui/qml/main.qml b/meshroom/ui/qml/main.qml
index e4cc56d5..d0b1ce84 100755
--- a/meshroom/ui/qml/main.qml
+++ b/meshroom/ui/qml/main.qml
@@ -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()