From a83f4cd81b0a67045aa710f3e3c42323c51450b0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Mon, 11 Sep 2017 18:03:35 +0200 Subject: revert 65cf1452510c336fcd69f9922774389d6c3b1aee, to allow widget creation from code --- src/GraphicObjects/FileDialog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GraphicObjects/FileDialog.cs') diff --git a/src/GraphicObjects/FileDialog.cs b/src/GraphicObjects/FileDialog.cs index 47a6fb54..8182e021 100644 --- a/src/GraphicObjects/FileDialog.cs +++ b/src/GraphicObjects/FileDialog.cs @@ -117,11 +117,11 @@ namespace Crow CurrentDirectory = SelectedDirectory; else { OkClicked.Raise (this, null); - unloadDialog ((sender as GraphicObject).currentInterface); + unloadDialog ((sender as GraphicObject).CurrentInterface); } } void onCancel(object sender, MouseButtonEventArgs e){ - unloadDialog ((sender as GraphicObject).currentInterface); + unloadDialog ((sender as GraphicObject).CurrentInterface); } void unloadDialog(Interface host){ host.DeleteWidget (this); -- cgit v1.3.1-4-g156e