aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/FileDialog.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-09-11 18:03:35 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-09-11 18:03:35 +0200
commita83f4cd81b0a67045aa710f3e3c42323c51450b0 (patch)
tree1bc814a335767bff7f114f6a0a0a93f67ffdd11f /src/GraphicObjects/FileDialog.cs
parentc7a3277469965f45c4fbd22ba1eb6f73c67ba278 (diff)
revert 65cf1452510c336fcd69f9922774389d6c3b1aee, to allow widget creation from code
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 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);