mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-05 19:15:00 +00:00
optimize<FolderDialog>: simplify FolderDialog interface
This commit is contained in:
parent
5a9c4c32b0
commit
9d9e741aa5
6 changed files with 16 additions and 43 deletions
|
@ -116,8 +116,7 @@ namespace SourceGit.UI {
|
|||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void SelectDefaultClonePath(object sender, RoutedEventArgs e) {
|
||||
var dialog = new FolderDailog("Select Folder To Clone Repository Into As Default", null);
|
||||
dialog.Open(path => {
|
||||
FolderDailog.Open("Select default clone path", path => {
|
||||
txtGitCloneDir.Text = path;
|
||||
App.Preference.GitDefaultCloneDir = path;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue