File Dialog: hook up cancel button

This commit is contained in:
Miguel de Icaza
2018-06-04 20:30:11 -04:00
parent 948ca7994f
commit 829aae09c8

View File

@@ -320,6 +320,10 @@ namespace Terminal.Gui {
};
this.cancel = new Button ("Cancel");
this.cancel.Clicked += () => {
canceled = true;
Application.RequestStop ();
};
AddButton (cancel);
this.prompt = new Button (prompt) {