Skip to content

Commit

Permalink
Merge pull request #115 from biobob/master
Browse files Browse the repository at this point in the history
Suppressing menu bar separator when not needed
  • Loading branch information
azakhary committed Jul 23, 2015
2 parents 3deff4a + d065032 commit 557e688
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/uwsoft/editor/view/Overlap2DMenuBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ public void reInitRecent(ArrayList<String> 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);
Expand Down

0 comments on commit 557e688

Please sign in to comment.