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:
parent
fc5184ae07
commit
86cf438785
@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||||
|
|
||||||
|
## [2.3.2] — 2026-04-30
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- **도움말 다이얼로그가 빈 창으로 표시되던 치명적 버그**
|
||||||
|
- v2.3.1에서 "온보딩 다시 보기" 버튼 추가 시 `self.setLayout(main_layout)` 라인이
|
||||||
|
실수로 `_reopen_onboarding` 메서드 안으로 들여쓰기되어 init_ui가 setLayout 없이 종료
|
||||||
|
- F1 누르면 빈 화면만 나옴 (탭 6개 모두 미렌더링)
|
||||||
|
- setLayout 호출 위치 복원 → 정상 표시
|
||||||
|
|
||||||
## [2.3.1] — 2026-04-30
|
## [2.3.1] — 2026-04-30
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@ -4,4 +4,4 @@
|
|||||||
릴리스 시 이 값을 올린 후 git tag → push.
|
릴리스 시 이 값을 올린 후 git tag → push.
|
||||||
CHANGELOG.md의 최상단 항목과 일치시킬 것.
|
CHANGELOG.md의 최상단 항목과 일치시킬 것.
|
||||||
"""
|
"""
|
||||||
__version__ = '2.3.1'
|
__version__ = '2.3.2'
|
||||||
|
|||||||
@ -68,14 +68,14 @@ class HelpView(QDialog):
|
|||||||
button_layout.addWidget(close_button)
|
button_layout.addWidget(close_button)
|
||||||
main_layout.addLayout(button_layout)
|
main_layout.addLayout(button_layout)
|
||||||
|
|
||||||
|
self.setLayout(main_layout)
|
||||||
|
|
||||||
def _reopen_onboarding(self):
|
def _reopen_onboarding(self):
|
||||||
"""부모 윈도우의 show_onboarding 호출 후 도움말 닫음."""
|
"""부모 윈도우의 show_onboarding 호출 후 도움말 닫음."""
|
||||||
self.close()
|
self.close()
|
||||||
if self.parent() and hasattr(self.parent(), 'show_onboarding'):
|
if self.parent() and hasattr(self.parent(), 'show_onboarding'):
|
||||||
self.parent().show_onboarding()
|
self.parent().show_onboarding()
|
||||||
|
|
||||||
self.setLayout(main_layout)
|
|
||||||
|
|
||||||
def _make_tab(self, html: str) -> QWidget:
|
def _make_tab(self, html: str) -> QWidget:
|
||||||
container = QWidget()
|
container = QWidget()
|
||||||
layout = QVBoxLayout()
|
layout = QVBoxLayout()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user