summaryrefslogtreecommitdiff
path: root/vcl/jsdialog
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-01-25 15:04:17 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2021-03-03 12:29:44 +0100
commit8a5b110ec48629bbfe58f6e76803f27fe2f69882 (patch)
treebb1db1a5700b9d9deb463dc219b7302f8c412057 /vcl/jsdialog
parent6f343f133800fe09d64be0a3d8ba295eeb877045 (diff)
jsdialog: missing method for treeview
Change-Id: Ice358bb9d79cc0e257e03fba4ef9df1397284158 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109971 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111840 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r--vcl/jsdialog/jsdialogbuilder.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 8c14e93e4a72..da0537893a35 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -995,6 +995,12 @@ void JSTreeView::set_toggle(int pos, TriState eState, int col)
}
}
+void JSTreeView::set_toggle(const weld::TreeIter& rIter, TriState bOn, int col)
+{
+ SalInstanceTreeView::set_toggle(rIter, bOn, col);
+ sendUpdate();
+}
+
void JSTreeView::select(int pos)
{
assert(m_xTreeView->IsUpdateMode() && "don't select when frozen");