Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f6f5a0e

Browse files
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

Lines changed: 1 addition & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /