aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/FileDialog.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-08-26 10:24:39 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-08-26 10:24:39 +0200
commit4b39241bad2eb55a91305c4aa5197c1640e81c48 (patch)
treec7c69917b6d2ac1ec985c9cddd5f66961c0f26cd /src/GraphicObjects/FileDialog.cs
parentda33782c4ab475d0e8c1216f13ecbff2450ec546 (diff)
remove Initialise, currentInterface is set by instanciator
Diffstat (limited to 'src/GraphicObjects/FileDialog.cs')
-rw-r--r--src/GraphicObjects/FileDialog.cs4
1 files changed, 2 insertions, 2 deletions
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);