0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix(widgets/figure): individual cleanup disabled, making stuck rpc

This commit is contained in:
2024-04-19 00:16:22 +02:00
parent 026c0792be
commit ff52100e23

View File

@ -787,8 +787,8 @@ class BECFigure(BECConnector, pg.GraphicsLayoutWidget):
def clear_all(self):
"""Clear all widgets from the figure and reset to default state"""
for widget in self._widgets.values():
widget.cleanup()
# for widget in self._widgets.values():
# widget.cleanup()
self.clear()
self._widgets = defaultdict(dict)
self.grid = []