mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correct exit code
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ public abstract class InplaceRefactoring {
|
||||
if (oldDocument != myEditor.getDocument()) {
|
||||
final int exitCode = Messages.showYesNoCancelDialog(myProject, e.getMessage(), getCommandName(),
|
||||
"Navigate to Started", "Cancel Started", "Cancel", Messages.getErrorIcon());
|
||||
if (exitCode == -1) return true;
|
||||
if (exitCode == Messages.CANCEL) return true;
|
||||
navigateToAlreadyStarted(oldDocument, exitCode);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user