summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2018-10-08 01:08:25 +0300
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2018-10-11 13:08:47 +0200
commit94b6b9b17c39edf7d3e1f8220f8d77bf21bf0f40 (patch)
treefaf308e633a03a59591dc52a0b25a1a1d27bd609
parent4de54f8c6795c0b16f3fd3fbd1820249fd318a88 (diff)
tdf#119266: Nodes don't expand on double click in the Customize dialog
Change-Id: I8b6667dc631df2fd38a8a2d99668b4a2336801b6 Reviewed-on: https://gerrit.libreoffice.org/61504 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr> (cherry picked from commit 307c29ecbcd63b787374c5c2aefabdc4353d2723) Reviewed-on: https://gerrit.libreoffice.org/61649 Tested-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
-rw-r--r--cui/source/customize/cfg.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 250c2a3f0e90..8d64d3ce2e3c 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1753,8 +1753,12 @@ IMPL_LINK( SvxConfigPage, MoveHdl, Button *, pButton, void )
IMPL_LINK_NOARG( SvxConfigPage, FunctionDoubleClickHdl, SvTreeListBox *, bool )
{
if ( m_pAddCommandButton->IsEnabled() )
+ {
m_pAddCommandButton->Click();
- return false;
+ return false;
+ }
+ else
+ return true;
}
IMPL_LINK_NOARG( SvxConfigPage, SelectFunctionHdl, SvTreeListBox *, void )