mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fix check for wrong submenu
This commit is contained in:
parent
97f11945c6
commit
49cd9b57dd
@ -508,7 +508,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
if (!components.contains(sketchbookMenu)) {
|
||||
fileMenu.insert(sketchbookMenu, 3);
|
||||
}
|
||||
if (!components.contains(sketchbookMenu)) {
|
||||
if (!components.contains(examplesMenu)) {
|
||||
fileMenu.insert(examplesMenu, 4);
|
||||
}
|
||||
fileMenu.revalidate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user