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

New commits:
commit 6af317bb64bdfa8a36dd4b3734dd882e853f748a
Author:     Henry Castro <[email protected]>
AuthorDate: Mon Feb 22 15:16:06 2021 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Tue Apr 6 19:52:50 2021 +0200

    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 <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113683
    Tested-by: Jenkins
    Reviewed-by: Henry Castro <[email protected]>

diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index c2c1ee2f0078..8414f3f9e262 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -1121,6 +1121,7 @@ void JSTreeView::select(int pos)
         }
     }
     enable_notify_events();
+    sendUpdate();
 }
 
 weld::TreeView* JSTreeView::get_drag_source() const { return g_DragSource; }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to