Bläddra i källkod

Changed default directory of a file dialog

Martin Edlund 5 år sedan
förälder
incheckning
7fc3a29c41
1 ändrade filer med 0 tillägg och 1 borttagningar
  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);