fix(gui): correct relative import that broke app startup — 0.18.2

The recording indicator (0.18.0) used `from .core import diagnostic`, which
resolves to the non-existent rigdoctor.gui.core and crashed MainWindow on launch.
Fixed to `from ..core import diagnostic`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-22 09:10:28 +02:00
parent 1b24d1b032
commit 1dc86121f6
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""RigDoctor — modular hardware monitoring & crash diagnostics for Linux gamers."""
__version__ = "0.18.1"
__version__ = "0.18.2"
+1 -1
View File
@@ -263,7 +263,7 @@ class MainWindow(QMainWindow):
self.inventory_page._run()
def _update_recording(self) -> None:
from .core import diagnostic
from ..core import diagnostic
status = diagnostic.active()
if not status: