Skip to content

Commit cc347e4

Browse files
committedDec 3, 2013
Removed unused variable
1 parent 1d8901d commit cc347e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎app/src/processing/app/Base.java

-3
Original file line numberDiff line numberDiff line change
@@ -1432,16 +1432,13 @@ public void actionPerformed(ActionEvent actionevent) {
14321432
menuItemsToClickAfterStartup.add(item);
14331433
}
14341434

1435-
int i = 0;
14361435
PreferencesMap customMenus = targetPlatform.getCustomMenus();
14371436
for (final String menuId : customMenus.keySet()) {
14381437
String title = customMenus.get(menuId);
14391438
JMenu menu = getBoardCustomMenu(_(title));
14401439

14411440
if (board.hasMenu(menuId)) {
14421441
PreferencesMap boardCustomMenu = board.getMenuLabels(menuId);
1443-
final int currentIndex = i + 1 + 1; //plus 1 to skip the first board menu, plus 1 to keep the custom menu next to this one
1444-
i++;
14451442
for (String customMenuOption : boardCustomMenu.keySet()) {
14461443
@SuppressWarnings("serial")
14471444
Action subAction = new AbstractAction(_(boardCustomMenu.get(customMenuOption))) {

0 commit comments

Comments
 (0)
Please sign in to comment.