svtools/source/contnr/treelistbox.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 291cb54cdd74336b5dcbb11450737c2199d41802 Author: Jan Holesovsky <[email protected]> Date: Tue Mar 13 12:39:11 2018 +0100 tdf#116334: Actually when there is no handler, we have to return 'true'. Also use the return value of the link's Call() [as the SvTreeListBox::ExpandingHdl() is doing], the appropriate callbacks seem to return the expected 'false' in the cases I've reviewed... Change-Id: I0cdd63e8ec4c794839070b914150e0b32f743359 Reviewed-on: https://gerrit.libreoffice.org/51213 Reviewed-by: pranavk <[email protected]> Tested-by: pranavk <[email protected]> diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 7190afa3d405..72259b8886a4 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -429,8 +429,7 @@ void SvTreeListBox::DeselectHdl() bool SvTreeListBox::DoubleClickHdl() { - aDoubleClickHdl.Call( this ); - return false; + return !aDoubleClickHdl.IsSet() || aDoubleClickHdl.Call(this); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
