diff --git a/widget/windows/nsFilePicker.cpp b/widget/windows/nsFilePicker.cpp index 3ddcae5322bf..a9559d0d6bbc 100644 --- a/widget/windows/nsFilePicker.cpp +++ b/widget/windows/nsFilePicker.cpp @@ -893,7 +893,7 @@ nsFilePicker::ShowFilePicker(const nsString& aInitialDir) FILEOPENDIALOGOPTIONS fos = 0; fos |= FOS_SHAREAWARE | FOS_OVERWRITEPROMPT | - FOS_NOREADONLYRETURN | FOS_FORCEFILESYSTEM; + FOS_FORCEFILESYSTEM; // Handle add to recent docs settings if (IsPrivacyModeEnabled() || !mAddToRecentDocs) { @@ -915,6 +915,7 @@ nsFilePicker::ShowFilePicker(const nsString& aInitialDir) break; case modeSave: + fos |= FOS_NOREADONLYRETURN; // Don't follow shortcuts when saving a shortcut, this can be used // to trick users (bug 271732) if (IsDefaultPathLink())