summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-02-22 15:16:06 -0400
committerJan Holesovsky <kendy@collabora.com>2021-02-23 15:20:52 +0100
commit97a9e3d99e0fea7a27d5f06d2d92e6c3c2549ca2 (patch)
treebbdb92763d59bfe074c554fc8dd0d8c9066a7ee0
parent70bc089fe9bec46ef4ca0417518ee06302c65f4c (diff)
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@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r--vcl/jsdialog/jsdialogbuilder.cxx1
1 files changed, 1 insertions, 0 deletions
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; }