classpath editor: open library editor if 'Navigate' action is invoked on module library

This commit is contained in:
nik
2015-07-15 15:43:45 +03:00
parent e2e8d032d9
commit dfc247dc58
@@ -337,7 +337,7 @@ public class ClasspathPanelImpl extends JPanel implements ClasspathPanel {
}
}
else if (entry instanceof LibraryOrderEntry){
if (!openLibraryEditor) {
if (!openLibraryEditor && !((LibraryOrderEntry)entry).getLibraryLevel().equals(LibraryTableImplUtil.MODULE_LEVEL)) {
rootConfigurable.select((LibraryOrderEntry)entry, true);
}
else {