forked from arduino/Arduino
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store original board items, not clones and use the original action
This simplifies the creation of the original board items by just storing the original and leaving the creation of new actions and items for the recent boards menu for later, for only the items actually present there. Also, it turns out that cloning the action is not actually needed, you can just attach the original action to the recent board menu item as well (this skips setting the clicked item as selected, but it works because the original action changes the current board, which regenerates the recent board menu anyway).
- Loading branch information
1 parent
2acc1f7
commit a9631da
Showing
1 changed file
with
9 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters