Closed claudio-rosati closed 5 years ago
OK, I'll add that.
Thank you
Altogether, I see at least these scenarios
5 and 6 are really for debugging the editor. We can't have preventive actions everywhere to work around bugs, need to instead identify and fix them. That still leaves at least 4 options, which would result in an unwieldy dialog. So I implemented 1 and 2. If the user cancels, the user can then do either 3 or 4. In essence, it's thus just like the "Do you really want to close" behaviour when closing a dirty editor.
I think it is reasonable. At the end what is important is to know that I'm about to clear my changes, and possibly abort it.
When in editor mode, and the current OPI is not saved (asterisk on the tab name), invoking the contextual menu's Reload Display will reload the original OPI file without notifying the user.
I should, instead, ask for: