🔴 PR 1: Critical Bug Fixes #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/critical-bugs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes
1. SearchPanel dirty property initialization
Initialize
_dirty_contentand_dirty_titlebeforesuper().__init__()inSearchPanel. Previously these attributes only came into existence when the parentPanel.__init__setself.dirty = True, triggering the property setter. Iftitle()were ever called before that setter, it would crash withAttributeError.2. Panel.focusInEvent broken type annotation
PyQt6.QWidget.QFocusEventis not resolvable —PyQt6is never imported as a module. Fixed to importQFocusEventfromPyQt6.QtGuiand use it directly. Also consolidated the splitQtCoreimports.3. Duplicate
import osin app.pyRemoved the duplicate import statement.
Files Changed
dodo/search.py: Initialize dirty attributes before super()dodo/panel.py: Fix focusInEvent type annotation, consolidate importsdodo/app.py: Remove duplicateimport osTesting
Pull request closed