implementations popup: check always names

This commit is contained in:
anna
2011-05-23 14:32:25 +04:00
parent 24140e4319
commit bb5e5e0fe7
@@ -109,11 +109,7 @@ public class ImplementationViewComponent extends JPanel {
return presentableName;
}
if (UISettings.getInstance().HIDE_KNOWN_EXTENSION_IN_TABS) {
if (Comparing.strEqual(presentableName, myElementPresentation)) {
return presentableName;
}
} else if (Comparing.strEqual(presentableName, myElementPresentation + "." + vFile.getExtension())){
if (Comparing.strEqual(vFile.getName(), myElementPresentation + "." + vFile.getExtension())){
return presentableName;
}