File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationFramework/Microsoft/Win32 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -428,8 +428,7 @@ private protected virtual void PrepareDialog(IFileDialog dialog)
428428 dialog . SetTitle ( Title ) ;
429429 dialog . SetFileName ( CriticalItemName ) ;
430430
431- // Only accept physically backed locations.
432- FOS options = _dialogOptions . Value | FOS . FORCEFILESYSTEM ;
431+ FOS options = _dialogOptions . Value ;
433432 dialog . SetOptions ( options ) ;
434433
435434 IList < FileDialogCustomPlace > places = CustomPlaces ;
@@ -563,6 +562,9 @@ private void Initialize()
563562 // - Force no mini mode for the SaveFileDialog.
564563 SetOption ( FOS . DEFAULTNOMINIMODE , true ) ;
565564
565+ // Only accept physically backed locations.
566+ SetOption ( FOS . FORCEFILESYSTEM , true ) ;
567+
566568 //
567569 // Initialize additional properties
568570 //
You can’t perform that action at this time.
0 commit comments