feature<FolderDailog>: use Ookii.Dialog.Wpf instead of Views.Controls.FolderDailog

This commit is contained in:
leo 2021-06-29 10:19:38 +08:00
parent 8c8109dc60
commit 598f940cf3
11 changed files with 15 additions and 148 deletions

View file

@ -1,3 +1,4 @@
using Ookii.Dialogs.Wpf;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
@ -348,7 +349,7 @@ namespace SourceGit.Views.Widgets {
var saveToPatch = new MenuItem();
saveToPatch.Header = App.Text("CommitCM.SaveAsPatch");
saveToPatch.Click += (o, e) => {
var dialog = new Controls.FolderDialog("SaveFileTo");
var dialog = new VistaFolderBrowserDialog();
if (dialog.ShowDialog() == true) {
new Commands.FormatPatch(repo.Path, commit.SHA, dialog.SelectedPath).Exec();
}