diff --git a/src/plugins/screenrecorder/record.cpp b/src/plugins/screenrecorder/record.cpp index 51c80d6d42b..11c1e7a3176 100644 --- a/src/plugins/screenrecorder/record.cpp +++ b/src/plugins/screenrecorder/record.cpp @@ -265,6 +265,8 @@ RecordWidget::RecordWidget(const FilePath &recordFile, QWidget *parent) "Mov/qtrle rgb24 (*.mov)"); if (!file.isEmpty()) { Internal::settings().lastOpenDirectory.setValue(file.parentDir()); + Internal::settings().lastOpenDirectory.apply(); + Internal::settings().lastOpenDirectory.writeToSettingsImmediatly(); const ClipInfo clip = FFmpegUtils::clipInfo(file); if (clip.isNull()) { QMessageBox::critical(Core::ICore::dialogParent(),