partial void OnLocalPath (MonoMac.Foundation.NSObject sender)
{
NSOpenPanel OpenPanel = NSOpenPanel.OpenPanel;
OpenPanel.AllowsMultipleSelection = false;
OpenPanel.CanChooseFiles = false;
OpenPanel.CanChooseDirectories = true;
OpenPanel.CanCreateDirectories = true;
OpenPanel.DirectoryUrl = new NSUrl("file://localhost" + Controller.DefaultRepoPath);
if(OpenPanel.RunModal() == 1) {
string path = OpenPanel.Urls[0].Path;
try{
LocalPathText.StringValue = Path.Combine(path, RepoNameText.StringValue);
} catch(Exception) {
LocalPathText.StringValue = path;
}
CheckCustomizeInput();
}
}