浏览代码

Changed default directory of a file dialog

Martin Edlund 5 年之前
父节点
当前提交
7fc3a29c41
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);