mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(plot_indicators): cleanup adjusted
This commit is contained in:
@ -148,10 +148,7 @@ class BECTickItem(BECIndicatorItem):
|
|||||||
def cleanup(self) -> None:
|
def cleanup(self) -> None:
|
||||||
"""Cleanup the item"""
|
"""Cleanup the item"""
|
||||||
self.remove_from_plot()
|
self.remove_from_plot()
|
||||||
if self.tick_item is not None:
|
self.tick_item = None
|
||||||
self.tick_item.close()
|
|
||||||
self.tick_item.deleteLater()
|
|
||||||
self.tick_item = None
|
|
||||||
|
|
||||||
|
|
||||||
class BECArrowItem(BECIndicatorItem):
|
class BECArrowItem(BECIndicatorItem):
|
||||||
|
Reference in New Issue
Block a user