From 32f061ff761dd263ce4a8eb8c5e809a40e8bdd75 Mon Sep 17 00:00:00 2001 From: itdominator <1itdominator@gmail.com> Date: Wed, 2 Mar 2022 19:30:35 -0600 Subject: [PATCH] Updated readme, fixed save session as --- README.md | 3 +++ .../solarfm-0.0.1/SolarFM/solarfm/context/controller.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3553c5a..c61ddf6 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,11 @@ sudo apt-get install python3.8 wget python3-setproctitle python3-gi ffmpegthumbn # TODO # Images diff --git a/src/versions/solarfm-0.0.1/SolarFM/solarfm/context/controller.py b/src/versions/solarfm-0.0.1/SolarFM/solarfm/context/controller.py index 2dbf22d..fc7fa7c 100644 --- a/src/versions/solarfm-0.0.1/SolarFM/solarfm/context/controller.py +++ b/src/versions/solarfm-0.0.1/SolarFM/solarfm/context/controller.py @@ -102,7 +102,7 @@ class Controller(UIMixin, KeyboardSignalsMixin, IPCSignalsMixin, ExceptionHookMi save_load_dialog.set_current_name("session.json") response = save_load_dialog.run() if response == Gtk.ResponseType.OK: - if action == "save_session": + if action == "save_session_as": path = f"{save_load_dialog.get_current_folder()}/{save_load_dialog.get_current_name()}" self.fm_controller.save_state(path) elif action == "load_session":