vcl/inc/jsdialog/jsdialogbuilder.hxx | 1 + vcl/jsdialog/jsdialogbuilder.cxx | 6 ++++++ 2 files changed, 7 insertions(+)
New commits: commit 770fa01933b2829a29e7e683487d5c9bd31fa0c3 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Mon Jan 25 15:04:17 2021 +0100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Fri Feb 5 09:16:49 2021 +0100 jsdialog: missing method for treeview Change-Id: Ice358bb9d79cc0e257e03fba4ef9df1397284158 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109971 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/inc/jsdialog/jsdialogbuilder.hxx b/vcl/inc/jsdialog/jsdialogbuilder.hxx index a36179f8a8f6..07158c8db0d2 100644 --- a/vcl/inc/jsdialog/jsdialogbuilder.hxx +++ b/vcl/inc/jsdialog/jsdialogbuilder.hxx @@ -450,6 +450,7 @@ public: using SalInstanceTreeView::set_toggle; /// pos is used differently here, it defines how many steps of iterator we need to perform to take entry virtual void set_toggle(int pos, TriState eState, int col = -1) override; + virtual void set_toggle(const weld::TreeIter& rIter, TriState bOn, int col = -1) override; using SalInstanceTreeView::select; /// pos is used differently here, it defines how many steps of iterator we need to perform to take entry diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index bf576c614a05..80f9882c85fe 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -1000,6 +1000,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"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits