From 65cf1452510c336fcd69f9922774389d6c3b1aee Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Sat, 26 Aug 2017 10:24:39 +0200 Subject: remove Initialise, currentInterface is set by instanciator --- 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 8182e021..47a6fb54 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