Skip to content

Conversation

rohmishra
Copy link
Contributor

Solves #331.

This MR changes the exit dialog from INFORMATIONAL to WARNING type and switches the generic CANCEL_OK for more descrete and specific text "Cancel" and "Discard".

Since this message ultimately decides if we should exit without
saving changes made to file, accidentlly clicking on OK instead of
Cancel might cause user to loose unsaved changes. According to set
theme, themes might use more appropriate theming for this dialog
if we use MESSAGE_WARNING.
@rohmishra rohmishra changed the title #331 Informative exitmessage buttons #331 Informative exit message buttons Oct 15, 2020
@rohmishra
Copy link
Contributor Author

Duplicate of #313
Dint search enough 😞

Discard word is more concrete compared to OK and will convey the
message of content will be forever lost if not fixed more clearly.
@rohmishra rohmishra force-pushed the informative-exitmessage-buttons branch from 6826617 to 74016ec Compare October 15, 2020 01:47
@Mandarancio Mandarancio merged commit a608efb into fabiocolacio:master Apr 20, 2021
@sven-frotscher
Copy link
Contributor

Is the text in that dialog box translatable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants