fix: Window shows in taskbar

Added Qt.Window flag to ensure window appears in Windows taskbar
so user can close it from taskbar.
This commit is contained in:
LemonNexus 2026-02-13 17:47:42 +00:00
parent 7f6547f8de
commit 8ee0e5606d
1 changed files with 3 additions and 2 deletions

View File

@ -52,11 +52,12 @@ class OverlayWindow(QMainWindow):
self.hide_overlay()
def _setup_window(self):
"""Configure window - resizable and shows in taskbar."""
"""Configure window - resizable, shows in taskbar."""
self.setWindowTitle("EU-Utility")
# Resizable window, stays on top
# Resizable window, stays on top, shows in taskbar
self.setWindowFlags(
Qt.WindowType.Window |
Qt.WindowType.WindowStaysOnTopHint
)