fix: Activity Bar init order - hide_timer must be created before _apply_config

The hide_timer QTimer was being created after _apply_config() was called,
but _apply_config() tries to set the timer interval. This caused:
AttributeError: 'WindowsTaskbar' object has no attribute 'hide_timer'

Fix: Move hide_timer creation to before _apply_config() call.
This commit is contained in:
LemonNexus 2026-02-15 19:08:34 +00:00
parent 0feaf24732
commit 2d8983ece3
2 changed files with 4 additions and 4 deletions

View File

@ -83,14 +83,14 @@ class WindowsTaskbar(QFrame):
self.is_expanded = False
self.search_text = ""
# Auto-hide timer (must be created before _apply_config)
self.hide_timer = QTimer(self)
self.hide_timer.timeout.connect(self._auto_hide)
self._setup_window()
self._setup_ui()
self._apply_config()
# Auto-hide
self.hide_timer = QTimer(self)
self.hide_timer.timeout.connect(self._auto_hide)
# Show if enabled
if self.config.enabled:
self.show()

0
data/eu_utility.db Normal file
View File