aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/FileDialog.cs
diff options
context:
space:
mode:
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);