diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-05 18:36:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-06 22:14:17 +0200 |
commit | 48595c805dd5b917e9bd01ad1c2deb4a047c5f7b (patch) | |
tree | f1dd7b638b78694cd5ac635e0de6be3ca1d13042 /formula | |
parent | 4b28b77eddfe48e709180f1ab81ac0d996796471 (diff) |
Related: tdf#127935 set default activate handler to toggle row expansion
Change-Id: I2bbfb1445b8d2e748f642cdf4723d41b7f072e2b
Reviewed-on: https://gerrit.libreoffice.org/80305
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/funcpage.cxx | 3 | ||||
-rw-r--r-- | formula/source/ui/dlg/funcpage.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx index 92cb584fc99c..92035c709a3d 100644 --- a/formula/source/ui/dlg/funcpage.cxx +++ b/formula/source/ui/dlg/funcpage.cxx @@ -203,9 +203,10 @@ IMPL_LINK_NOARG(FuncPage, SelTreeViewHdl, weld::TreeView&, void) aSelectionLink.Call(*this); } -IMPL_LINK_NOARG(FuncPage, DblClkHdl, weld::TreeView&, void) +IMPL_LINK_NOARG(FuncPage, DblClkHdl, weld::TreeView&, bool) { aDoubleClickLink.Call(*this); + return true; } IMPL_LINK_NOARG(FuncPage, ModifyHdl, weld::Entry&, void) diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 41dfae60a6a4..95b9e1337b02 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -53,7 +53,7 @@ private: DECL_LINK(SelComboBoxHdl, weld::ComboBox&, void); DECL_LINK(SelTreeViewHdl, weld::TreeView&, void); - DECL_LINK(DblClkHdl, weld::TreeView&, void); + DECL_LINK(DblClkHdl, weld::TreeView&, bool); DECL_LINK(KeyInputHdl, const KeyEvent&, bool); DECL_LINK(ModifyHdl, weld::Entry&, void); |