Parcourir la source

Changed default directory of a file dialog

Martin Edlund il y a 5 ans
Parent
commit
7fc3a29c41
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      SketchAssistant/SketchAssistantWPF/MainWindow.xaml.cs

+ 0 - 1
SketchAssistant/SketchAssistantWPF/MainWindow.xaml.cs

@@ -360,7 +360,6 @@ namespace SketchAssistantWPF
         public Tuple<string, string> openNewDialog(string Filter)
         {
             openFileDialog.Filter = Filter;
-            openFileDialog.InitialDirectory = AppDomain.CurrentDomain.BaseDirectory;
             if (openFileDialog.ShowDialog() == true)
             {
                 return new Tuple<string, string>(openFileDialog.FileName, openFileDialog.SafeFileName);