maybe I'll add an LLM later, it'd be better if it was offline, for now, pure scripting

This commit is contained in:
N0\A
2025-10-22 10:35:39 +02:00
parent 2e57258c3e
commit e52df3d05f

View File

@@ -46,13 +46,11 @@ class MainWindow(QtWidgets.QMainWindow):
self.stay_on_top_timer.start(1000)
def ensure_on_top(self):
"""Periodically ensure the window stays on top"""
if self.isVisible():
self.raise_()
self.activateWindow()
def showEvent(self, event):
"""Ensure window is on top when shown"""
super().showEvent(event)
self.raise_()
self.activateWindow()