vcl/source/control/tabctrl.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 6218e0fc6551279f586ed5e84d4454474f2eed06 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed Mar 11 14:45:10 2020 +0100 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Thu May 21 15:58:32 2020 +0200
jsdialog: send selected tab and names Change-Id: I54db09a7a0311b5ed9bc0764c353b82bb99b9e41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94620 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index cab39a8feb94..8d1806006dfe 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2194,10 +2194,12 @@ boost::property_tree::ptree TabControl::DumpAsPropertyTree() boost::property_tree::ptree aTab; aTab.put("text", GetPageText(id)); aTab.put("id", id); + aTab.put("name", GetPageName(id)); aTabs.push_back(std::make_pair("", aTab)); } aTree.add_child("tabs", aTabs); + aTree.put("selected", GetCurPageId()); return aTree; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits