1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-31 20:52:13 +01:00
Martino Facchin 2f3a561c61 Fix rebuild being triggered on every menu open()
Fixes #7924

JRE 8u161 made JMenu.insert() MUCH slower on OSX.
This exposed a bug lurking there for years; in fact the menu entries were rebuilt every time since JMenu.getComponent() returns an empty list.
The correct function is JMenu.getMenuComponents().
In the meantime, also remove sketchbookMenu and examplesMenu being deleted on board change; only their content needs to be updated, not the container itself.
2018-08-27 16:22:42 +02:00
..
2018-05-02 16:14:03 +02:00
2018-05-02 16:14:03 +02:00