diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-08 01:08:25 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-10-08 08:42:23 +0200 |
commit | 307c29ecbcd63b787374c5c2aefabdc4353d2723 (patch) | |
tree | 58911adf96780d905347c07c4b714c4ce9d10912 | |
parent | ed1eff2bcbc6324f8ea635e0a11512ff0f117019 (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>
-rw-r--r-- | cui/source/customize/cfg.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 3c4b266f240b..af8fea0455f7 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1752,8 +1752,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 ) |