mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed dead code
This commit is contained in:
@@ -57,7 +57,7 @@ public final class EnterAction extends AnAction {
|
||||
if (selection.length > 0) {
|
||||
if (selection.length == 1 && selection[0].isDirectory()) {
|
||||
presentation.setVisible(true);
|
||||
} else if (selection.length > 0) {
|
||||
} else {
|
||||
boolean notImages = false;
|
||||
ImageFileTypeManager typeManager = ImageFileTypeManager.getInstance();
|
||||
for (VirtualFile file : selection) {
|
||||
@@ -65,9 +65,6 @@ public final class EnterAction extends AnAction {
|
||||
}
|
||||
presentation.setEnabled(!notImages);
|
||||
presentation.setVisible(false);
|
||||
} else {
|
||||
presentation.setVisible(false);
|
||||
presentation.setEnabled(false);
|
||||
}
|
||||
} else {
|
||||
presentation.setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user