Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f6f5a0e

Browse files
committedOct 1, 2019
fixup! Do not use a boards submenu with just one platform
1 parent c6094c0 commit f6f5a0e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -1470,9 +1470,7 @@ public void actionPerformed(ActionEvent actionevent) {
14701470

14711471
int platformCount = 0;
14721472
for (TargetPackage targetPackage : BaseNoGui.packages.values()) {
1473-
for (TargetPlatform targetPlatform : targetPackage.platforms()) {
1474-
++platformCount;
1475-
}
1473+
platformCount += targetPackage.platforms().size();
14761474
}
14771475

14781476
// Cycle through all packages

0 commit comments

Comments
 (0)
Please sign in to comment.