diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-03-01 12:13:53 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-26 07:46:06 +0200 |
commit | e77aa97842dca33acb79357ab5461e1ddf6bbb2e (patch) | |
tree | b1431c8791f69c6d0e80d8de14b90bf56ca8619f /svtools | |
parent | 105761d20bbd1f44067be557e8fbfff897687d13 (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/50261
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 7651e57573952758032ceb88f16e2dbbb6cc4e18)
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 daa06402ebdc..5a28f90fb339 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -428,7 +428,7 @@ void SvTreeListBox::DeselectHdl() bool SvTreeListBox::DoubleClickHdl() { aDoubleClickHdl.Call( this ); - return true; + return false; } |