diff --git a/src/viser/_gui_handles.py b/src/viser/_gui_handles.py index 1cfdc999..93aabf70 100644 --- a/src/viser/_gui_handles.py +++ b/src/viser/_gui_handles.py @@ -554,9 +554,9 @@ def remove(self) -> None: self._parent._tab_labels[:found_index] + self._parent._tab_labels[found_index + 1 :] ) - self._parent._icons_html = ( - self._parent._icons_html[:found_index] - + self._parent._icons_html[found_index + 1 :] + self._parent._tab_icons_html = ( + self._parent._tab_icons_html[:found_index] + + self._parent._tab_icons_html[found_index + 1 :] ) self._parent._tab_handles = ( self._parent._tab_handles[:found_index]