mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-02 09:35: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
|
@ -45,8 +45,9 @@ namespace SourceGit.UI {
|
|||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void SelectParentFolder(object sender, RoutedEventArgs e) {
|
||||
var dialog = new FolderDailog("Select folder to store repository", null);
|
||||
dialog.Open(path => txtParentFolder.Text = path);
|
||||
FolderDailog.Open("Select folder to store repository", path => {
|
||||
txtParentFolder.Text = path;
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue