fixes an issue in the overwrite confirmation, closes #569

This commit is contained in:
hneemann 2020-11-29 21:29:08 +01:00
parent dc93400815
commit c967f35cbf

View File

@ -86,7 +86,7 @@ public final class SaveAsHelper {
Lang.get("msg_warning"),
JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE,
null, options, options[0]);
if (res == 1) {
if (res != JOptionPane.OK_OPTION) {
repeat = true;
continue;
}