Skip to content

Commit

Permalink
fixup! Do not use a boards submenu with just one platform
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijskooijman committed Oct 1, 2019
1 parent c6094c0 commit f6f5a0e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -1470,9 +1470,7 @@ public void actionPerformed(ActionEvent actionevent) {

int platformCount = 0;
for (TargetPackage targetPackage : BaseNoGui.packages.values()) {
for (TargetPlatform targetPlatform : targetPackage.platforms()) {
++platformCount;
}
platformCount += targetPackage.platforms().size();
}

// Cycle through all packages
Expand Down

0 comments on commit f6f5a0e

Please sign in to comment.