Skip to content

Commit e26b792

Browse files
committed
pyboards can now be hidden so they do not show up in board select menus by naming them '_hidden_' in the setups tab.
1 parent 7397ac8 commit e26b792

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gui/setups_tab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def deselect_all_setups(self):
108108

109109
def update_available_setups(self):
110110
'''Called when boards are plugged, unplugged or renamed.'''
111-
setup_names = sorted([setup.name for setup in self.setups.values()])
111+
setup_names = sorted([setup.name for setup in self.setups.values()
112+
if setup.name != '_hidden_'])
112113
if setup_names != self.setup_names:
113114
self.available_setups_changed = True
114115
self.setup_names = setup_names

0 commit comments

Comments
 (0)