Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrockhill committed Apr 30, 2024
1 parent 2f0dce3 commit 8f30904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne_gui_addons/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ def _toggle_show(self):
for actor in actors:
actor.SetVisibility(show_hide == "Show")
self._renderer._update()
self._toggle_show_selector.setCurrentIndex(0) # back to title
self._toggle_show_selector.setItemText(idx, f"{show_hide_opp} {item}")
self._toggle_show_selector.setCurrentIndex(0) # back to title

def _convert_text(self, text, text_kind):
text = text.replace("\n", "")
Expand Down

0 comments on commit 8f30904

Please sign in to comment.