diff --git a/apps/documentation.py b/apps/documentation.py index e46560b..9eb926c 100644 --- a/apps/documentation.py +++ b/apps/documentation.py @@ -8,11 +8,11 @@ class Documentation(QWidget): def __init__(self): super().__init__() - self.init_UI() + self.webEngineView = QWebEngineView() + self.init_ui() - def init_UI(self): + def init_ui(self): vbox = QVBoxLayout(self) - self.webEngineView = QWebEngineView() self.load_page() vbox.addWidget(self.webEngineView) self.setLayout(vbox)