Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annoying and time consuming warning message. #280

Closed
nikoss opened this issue Feb 10, 2019 · 5 comments
Closed

Annoying and time consuming warning message. #280

nikoss opened this issue Feb 10, 2019 · 5 comments
Assignees
Milestone

Comments

@nikoss
Copy link
Contributor

nikoss commented Feb 10, 2019

Please provide the following information

Madedit-Mod version (or branch):
MadEdit-Mod 0.4.15 x86_x64 GCC 5.4.0 build 05:56:04 Nov 30 2018

platform/architecture:
Mageia Linux 6, 64bit

How to reproduce:

  • open a document with madedit
  • make a change
  • save the document
  • press Ctrl+Z to undo the changes
  • a pop up warning message will tell you that you are about to undo a change in the saved document

When you do a lot of trial and error,
and have to undo and redo changes many times,
this message not only irritates the user,
but consumes a lot of time.
To the point where I had to use another text editor!

Is there a way to prevent this message from popping up?
I didn't see any option.
Maybe, an option should be provided at Madedit-mod's preferences.

@LiMinggang
Copy link
Owner

LiMinggang commented Feb 11, 2019

Yeah, that's the way it works because your cannot redo the one if you did an undo and currently it could not be disabled.

Did not notice it because I never did the same as you otherwise I would have fix it already.

Will add an option in preference for this

@LiMinggang LiMinggang self-assigned this Feb 11, 2019
@LiMinggang LiMinggang added this to the 0.4.16 milestone Feb 11, 2019
@LiMinggang
Copy link
Owner

Did you want a patched one? I can simply disable the dialog in the code.

@LiMinggang
Copy link
Owner

@nikoss
Copy link
Contributor Author

nikoss commented Feb 12, 2019

I downloaded and tested it...

MadEdit-Mod 0.4.16 x86_x64 GCC 5.4.0 build 21:27:42 Feb 11 2019

This problem is fixed.
I didn't see any other issue, so far.
Thanks!

@LiMinggang
Copy link
Owner

This is not a fix but a patch. I only commented out the code. I'm going to add a checkbox to toggle the code in preference dialog.

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

No branches or pull requests

2 participants