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>
This commit is contained in:
Henry Castro 2021-02-22 15:16:06 -04:00
parent a7f1439ca7
commit 6af317bb64

View file

@ -1121,6 +1121,7 @@ void JSTreeView::select(int pos)
}
}
enable_notify_events();
sendUpdate();
}
weld::TreeView* JSTreeView::get_drag_source() const { return g_DragSource; }