diff --git a/src/com/uwsoft/editor/view/Overlap2DMenuBar.java b/src/com/uwsoft/editor/view/Overlap2DMenuBar.java index 7e5225044..ab3c8b36b 100644 --- a/src/com/uwsoft/editor/view/Overlap2DMenuBar.java +++ b/src/com/uwsoft/editor/view/Overlap2DMenuBar.java @@ -248,7 +248,9 @@ public void reInitRecent(ArrayList paths) { addRecent(paths); - recentProjectsPopupMenu.addSeparator(); + if (paths.size() > 0) { + recentProjectsPopupMenu.addSeparator(); + } MenuItem menuItem = new MenuItem("Clear list", new MenuItemListener(CLEAR_RECENTS, null, FILE_MENU)); recentProjectsMenuItems.add(menuItem);