-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
When a message contains a list and the list has reduced to zero, the old list items are still shown. As the code which removes the list items is not reached when the list is empty.
The code that executes the deletion is
rqt_topic/src/rqt_topic/topic_widget.py
Lines 258 to 262 in befebd5
| # remove obsolete children | |
| if len(message) < self._tree_items[topic_name].childCount(): | |
| for i in range(len(message), self._tree_items[topic_name].childCount()): | |
| item_topic_name = topic_name + '[%d]' % i | |
| self._recursive_delete_widget_items(self._tree_items[item_topic_name]) |
MaxandreOgeret and MrVolans