diff options
-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: |