mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests fixed
This commit is contained in:
@@ -90,7 +90,9 @@ public class PsiElementRenameHandler implements RenameHandler {
|
||||
|
||||
if (!element.isWritable()) {
|
||||
String message = RefactoringBundle.getCannotRefactorMessage("This element cannot be renamed.");
|
||||
showErrorMessage(project, editor, message);
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode()) {
|
||||
showErrorMessage(project, editor, message);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user