mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rename: do not show dialogs during update (IDEA-90652)
This commit is contained in:
@@ -62,6 +62,6 @@ public class RenameElementAction extends BaseRefactoringAction {
|
||||
|
||||
@Override
|
||||
protected boolean isAvailableOnElementInEditorAndFile(PsiElement element, Editor editor, PsiFile file, DataContext context) {
|
||||
return getHandler(context) != null;
|
||||
return RenameHandlerRegistry.getInstance().hasAvailableHandler(context);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user