resource bundles: make rename available in project view (IDEA-179826) remove odd condition

This commit is contained in:
Dmitry Batkovich
2018-08-06 19:34:43 +03:00
parent 0e4a20a098
commit 61f24b3b4e
@@ -43,7 +43,7 @@ public class ResourceBundleFromProjectViewRenameHandler implements RenameHandler
if (bundle == null || bundle.getPropertiesFiles().size() < 2) {
return false;
}
return PlatformDataKeys.FILE_EDITOR.getData(dataContext) == null && CommonDataKeys.VIRTUAL_FILE.getData(dataContext) == null;
return PlatformDataKeys.FILE_EDITOR.getData(dataContext) == null;
}
@Override