diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-01 12:13:53 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-03-01 13:18:50 +0100 |
commit | 2d38885e41db37dc49fe7456ac0550a30548a6c4 (patch) | |
tree | 63114f7e6ab6b1ae5c7495a755c51e603a6683f1 /svtools | |
parent | 6d41b4cdc880fa52c751a81edfa93b8d6aeb44e0 (diff) |
tdf#115950: Indicate that the dialog was already destroyed.
The DoubleClickHdl()'s return value does not mean "was handled", but actually
"is there anything more to be done"; so if we actually destroy the dialog in
the aDoubleClickHdl.Call(this), we have to return 'false'.
Change-Id: I7c510e8341eb5f74703b4266f86cb1e840a2b1fd
Reviewed-on: https://gerrit.libreoffice.org/50262
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index b7a220a131d7..7190afa3d405 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -430,7 +430,7 @@ void SvTreeListBox::DeselectHdl() bool SvTreeListBox::DoubleClickHdl() { aDoubleClickHdl.Call( this ); - return true; + return false; } |