Skip to content

Commit

Permalink
Editors: Fix editor not closing when refused to save changes in it
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadelessFox committed Dec 27, 2022
1 parent f929f6a commit 64ab2bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public void closeEditor(@NotNull Editor editor) {

if (result == JOptionPane.YES_OPTION) {
se.doSave(new VoidProgressMonitor());
} else {
} else if (result != JOptionPane.NO_OPTION) {
return;
}
}
Expand Down

0 comments on commit 64ab2bc

Please sign in to comment.