diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-03-11 14:45:10 +0100 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2020-05-22 09:40:07 +0200 |
commit | 5d0833abeb3637f826fd8c3a047d3c6a6b87f98d (patch) | |
tree | 1aff640ebb97a16637db221fc90428b6f3a5cda9 /vcl | |
parent | 24087b00515c7ae03bcbafe1f9f813ccbd0c6cc8 (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 96ca6dd4f9fc..9990d5ca85dc 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -2195,10 +2195,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; } |