Classic UI: No menu simplify for Recent files

This commit is contained in:
Jindra Petřík
2015-05-24 14:59:25 +02:00
parent bfe50953f9
commit b18d909c80

View File

@@ -275,6 +275,9 @@ public class MainFrameClassicMenu extends MainFrameMenu {
if (!menuElements.containsKey(path)) {
throw new IllegalArgumentException("Invalid menu: " + path);
}
if (path.startsWith("/file/recent")) {
return;
}
MenuElement me = menuElements.get(path);
if (me instanceof JMenu) {
JMenu jm = (JMenu) me;