Skip to content

Commit

Permalink
Change dialog title when asking to save changes
Browse files Browse the repository at this point in the history
  • Loading branch information
njbrown committed Jul 27, 2021
1 parent cc9092b commit 862f507
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ export default class App extends Vue implements IApp {
if (!UndoStack.current.isClean()) {
const action = dialog.showMessageBoxSync({
title: "Save Changes?",
message: "You have unsaved changes. Do you want to save them?",
buttons: ["Yes", "No", "Cancel"]
});
Expand Down Expand Up @@ -753,6 +754,7 @@ export default class App extends Vue implements IApp {
if (!UndoStack.current.isClean()) {
const action = dialog.showMessageBoxSync(null, {
title: "Save Changes?",
message: "You have unsaved changes. Do you want to save them?",
buttons: ["Yes", "No", "Cancel"]
});
Expand Down Expand Up @@ -798,6 +800,7 @@ export default class App extends Vue implements IApp {
if (!UndoStack.current.isClean()) {
const action = dialog.showMessageBoxSync(null, {
title: "Save Changes?",
message: "You have unsaved changes. Do you want to save them?",
buttons: ["Yes", "No", "Cancel"]
});
Expand Down Expand Up @@ -899,6 +902,7 @@ export default class App extends Vue implements IApp {
if (!UndoStack.current.isClean()) {
const action = dialog.showMessageBoxSync(null, {
title: "Save Changes?",
message: "You have unsaved changes. Do you want to save them?",
buttons: ["Yes", "No", "Cancel"]
});
Expand Down Expand Up @@ -1046,6 +1050,7 @@ export default class App extends Vue implements IApp {
if (!UndoStack.current.isClean()) {
const action = dialog.showMessageBoxSync(null, {
title: "Save Changes?",
message: "You have unsaved changes. Do you want to save them?",
buttons: ["Yes", "No", "Cancel"]
});
Expand Down

0 comments on commit 862f507

Please sign in to comment.