[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - vcl/jsdialog

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 23 14:21:29 UTC 2021


 vcl/jsdialog/jsdialogbuilder.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 97a9e3d99e0fea7a27d5f06d2d92e6c3c2549ca2
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Mon Feb 22 15:16:06 2021 -0400
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Tue Feb 23 15:20:52 2021 +0100

    jsdialog: fix missing update for "treeview" action "select"
    
    When Treeview control selects an item, the state of the control
    has changed and it should update the new changes to the client side.
    
    Change-Id: I27d6a215148fcef260799d76ffe209460f38c559
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111355
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 484d95d64967..6bcf259423be 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -1065,6 +1065,7 @@ void JSTreeView::select(int pos)
         }
     }
     enable_notify_events();
+    sendUpdate();
 }
 
 weld::TreeView* JSTreeView::get_drag_source() const { return g_DragSource; }


More information about the Libreoffice-commits mailing list