summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/filebrowser.cc')
-rw-r--r--plugingui/filebrowser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index 3d3df99..d77a6bf 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -71,6 +71,8 @@ FileBrowser::FileBrowser(Widget* parent)
this, &FileBrowser::listSelectionChanged);
CONNECT(this, fileSelectNotifier,
this, &FileBrowser::select);
+ CONNECT(eventHandler(), closeNotifier,
+ this, &FileBrowser::cancel);
btn_sel.setText("Select");
CONNECT(&btn_sel, clickNotifier, this, &FileBrowser::selectButtonClicked);