diff options
author | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 20:34:39 +0100 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2023-12-17 20:34:39 +0100 |
commit | 4bdf8e60238e786790da429d0550d468dd93711d (patch) | |
tree | 921f743aa9a04969b282297eed63880c5a47ec53 | |
parent | 88b86d9c9687ae49be3e6388f2f0e21050017221 (diff) |
Fix GUI bug
-rw-r--r-- | solo_tool_qt.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |