v2.3.2: fix HelpView showing blank window (regression in v2.3.1)
In v2.3.1 the new 'Re-run Onboarding' button was added but the self.setLayout(main_layout) line was accidentally indented into the new _reopen_onboarding method body, so init_ui returned without applying the layout. Result: F1 opened an empty dialog with no tabs. Move setLayout back to the end of init_ui. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
fc5184ae07
commit
86cf438785
+2
-2
@@ -68,14 +68,14 @@ class HelpView(QDialog):
|
||||
button_layout.addWidget(close_button)
|
||||
main_layout.addLayout(button_layout)
|
||||
|
||||
self.setLayout(main_layout)
|
||||
|
||||
def _reopen_onboarding(self):
|
||||
"""부모 윈도우의 show_onboarding 호출 후 도움말 닫음."""
|
||||
self.close()
|
||||
if self.parent() and hasattr(self.parent(), 'show_onboarding'):
|
||||
self.parent().show_onboarding()
|
||||
|
||||
self.setLayout(main_layout)
|
||||
|
||||
def _make_tab(self, html: str) -> QWidget:
|
||||
container = QWidget()
|
||||
layout = QVBoxLayout()
|
||||
|
||||
Reference in New Issue
Block a user