mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-29 16:14:59 +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.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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue