Explorar el Código

Changed default directory of a file dialog

Martin Edlund hace 5 años
padre
commit
7fc3a29c41
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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);