diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-03-11 14:45:10 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-05-21 15:58:32 +0200 |
commit | 6218e0fc6551279f586ed5e84d4454474f2eed06 (patch) | |
tree | fde633e3d41773579813a6a26d97a61ab550d1d0 /vcl | |
parent | 67fd1c4837a7057f8244b8306744c67b41d7e7b4 (diff) |
jsdialog: send selected tab and names
Change-Id: I54db09a7a0311b5ed9bc0764c353b82bb99b9e41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94620
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |