[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - dbaccess/source

Noel Grandin noel at peralex.com
Tue Apr 12 08:47:35 UTC 2016


 dbaccess/source/ui/control/dbtreelistbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3f357129d589dcfe8dd9c817bc8aead72b31f9b
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Apr 5 10:18:55 2016 +0200

    tdf#99073 fix double-click tree node expansion in base
    
    fallout from
    commit	cf0c04a428754dfd5aa477cebc5441bc74e27005
    "convert Link<> to typed"
    
    Change-Id: I3452b76320c5355aaf84a0bd67c99b281bb46d0f
    (cherry picked from commit e4f02b250402d48793fe1bb79d419c0e1a822cb5)
    Reviewed-on: https://gerrit.libreoffice.org/23838
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 4de1b81..3a1c357 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -387,7 +387,7 @@ bool DBTreeListBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewTe
 bool DBTreeListBox::DoubleClickHdl()
 {
     // continue default processing if the DoubleClickHandler didn't handle it
-    return aDoubleClickHdl.Call( this );
+    return !aDoubleClickHdl.Call( this );
 }
 
 void scrollWindow(DBTreeListBox* _pListBox, const Point& _rPos,bool _bUp)


More information about the Libreoffice-commits mailing list