fix(widgets): fix init parameters after new bec version
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -75,7 +75,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()
|
||||
|
||||
Reference in New Issue
Block a user