From 48595c805dd5b917e9bd01ad1c2deb4a047c5f7b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 5 Oct 2019 18:36:38 +0100 Subject: Related: tdf#127935 set default activate handler to toggle row expansion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2bbfb1445b8d2e748f642cdf4723d41b7f072e2b Reviewed-on: https://gerrit.libreoffice.org/80305 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- dbaccess/source/ui/dlg/dsselect.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dbaccess/source/ui/dlg/dsselect.cxx') diff --git a/dbaccess/source/ui/dlg/dsselect.cxx b/dbaccess/source/ui/dlg/dsselect.cxx index c7eee5b6fba5..e9e5aa2ed98e 100644 --- a/dbaccess/source/ui/dlg/dsselect.cxx +++ b/dbaccess/source/ui/dlg/dsselect.cxx @@ -65,10 +65,11 @@ ODatasourceSelectDialog::~ODatasourceSelectDialog() { } -IMPL_LINK(ODatasourceSelectDialog, ListDblClickHdl, weld::TreeView&, rListBox, void) +IMPL_LINK(ODatasourceSelectDialog, ListDblClickHdl, weld::TreeView&, rListBox, bool) { if (rListBox.n_children()) m_xDialog->response(RET_OK); + return true; } short ODatasourceSelectDialog::run() -- cgit