diff --git a/qt_ui/windows/QLiberationWindow.py b/qt_ui/windows/QLiberationWindow.py index 3466b53b..d431266d 100644 --- a/qt_ui/windows/QLiberationWindow.py +++ b/qt_ui/windows/QLiberationWindow.py @@ -237,7 +237,7 @@ class QLiberationWindow(QMainWindow): file = QFileDialog.getOpenFileName( self, "Select game file to open", - dir=persistency._dcs_saved_game_folder, + dir=self.game.savepath if self.game else persistency._dcs_saved_game_folder, filter="*.liberation", ) if file is not None and file[0] != "": @@ -260,7 +260,7 @@ class QLiberationWindow(QMainWindow): file = QFileDialog.getSaveFileName( self, "Save As", - dir=persistency._dcs_saved_game_folder, + dir=self.game.savepath if self.game else persistency._dcs_saved_game_folder, filter="*.liberation", ) if file is not None: