From 4bdf8e60238e786790da429d0550d468dd93711d Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sun, 17 Dec 2023 20:34:39 +0100 Subject: Fix GUI bug --- solo_tool_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solo_tool_qt.py b/solo_tool_qt.py index a2a1164..86557a7 100644 --- a/solo_tool_qt.py +++ b/solo_tool_qt.py @@ -140,7 +140,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): if path: self.soloTool.saveSession(path) - def loadSession(self, path): + def loadSession(self, path=None): if path is None: path, _ = QFileDialog.getOpenFileName(self, "Open file", "", "session file (*.json)") if path is not None: -- cgit v1.2.3