summaryrefslogtreecommitdiff
path: root/plugingui/filebrowser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 10:17:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 10:17:48 +0200
commit33fbeeb2ec7c308fc48fc7ef0df01cd4a3a43f0c (patch)
tree123f847e883764bd9aea711ca87e81b5951d7aef /plugingui/filebrowser.cc
parent7d58f10c8034b779d752028ec3b5dcbce848c661 (diff)
Open FileBrowser with Browse buttons and read back result to LieEdit.
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);