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.Threading.Tasks;
using System.Windows.Controls;
@ -54,7 +55,7 @@ namespace SourceGit.Views.Popups {
}
private void OnFolderSelectorClick(object sender, System.Windows.RoutedEventArgs e) {
var dialog = new Controls.FolderDialog("Clone.Folder.Placeholder");
var dialog = new VistaFolderBrowserDialog();
if (dialog.ShowDialog() == true) {
Folder = dialog.SelectedPath;
txtFolder.GetBindingExpression(TextBox.TextProperty).UpdateTarget();