fix(widgets): fix init parameters after new bec version

This commit is contained in:
x01da
2026-08-03 09:21:47 +02:00
parent 3ae5258a15
commit 81e43f6020
2 changed files with 2 additions and 2 deletions
@@ -35,7 +35,7 @@ class DataViewer(BECWidget, QWidget):
ICON_NAME = "find_in_page"
def __init__(self, *arg, parent=None, **kwargs):
super().__init__(parent=parent, theme_update=True, *arg, **kwargs)
super().__init__(parent=parent, *arg, **kwargs)
self.get_bec_shortcuts()
central = QWidget()
@@ -76,7 +76,7 @@ class DigitalTwin(BECWidget, QWidget):
ICON_NAME = "lightbulb"
def __init__(self, *arg, parent=None, **kwargs):
super().__init__(parent=parent, theme_update=True, *arg, **kwargs)
super().__init__(parent=parent, *arg, **kwargs)
self.get_bec_shortcuts()
self.beamline = get_beamline_id()