summaryrefslogtreecommitdiff
path: root/vcl/jsdialog
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-02-22 15:16:06 -0400
committerHenry Castro <hcastro@collabora.com>2021-04-06 19:52:50 +0200
commit6af317bb64bdfa8a36dd4b3734dd882e853f748a (patch)
tree96a527723d5836e18486e3cb7b9e210cb7c62d3f /vcl/jsdialog
parenta7f1439ca765384b8352a054ea2da28ef68c02ff (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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113683 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'vcl/jsdialog')
-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 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; }