mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature<FolderDailog>: use Ookii.Dialog.Wpf instead of Views.Controls.FolderDailog
This commit is contained in:
parent
8c8109dc60
commit
598f940cf3
11 changed files with 15 additions and 148 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue