From 33fbeeb2ec7c308fc48fc7ef0df01cd4a3a43f0c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 17 Apr 2017 10:17:48 +0200 Subject: Open FileBrowser with Browse buttons and read back result to LieEdit. --- plugingui/filebrowser.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugingui/filebrowser.cc') 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); -- cgit v1.2.3