Ver Fonte

Changed default directory of a file dialog

Martin Edlund há 5 anos atrás
pai
commit
7fc3a29c41
1 ficheiros alterados com 0 adições e 1 exclusões
  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);