diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-07-17 16:31:09 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-08-18 16:22:34 +0200 |
commit | 358c7958b171eedac7b9b998448a27dd1b80af78 (patch) | |
tree | d4d8c7dca6fceb3b81c2b78ec56aa6041e303a0b /sfx2/source | |
parent | e94444f8580f7e93604be816d49577a3bdf596ce (diff) |
jsdialog: dump more options command for panels
Change-Id: I04d71d318d97916f040de7a617a802dd895faed5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119104
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120659
Tested-by: Jenkins
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/Deck.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/Deck.cxx b/sfx2/source/sidebar/Deck.cxx index 7494e99c7feb..0fec11ef4e89 100644 --- a/sfx2/source/sidebar/Deck.cxx +++ b/sfx2/source/sidebar/Deck.cxx @@ -143,6 +143,9 @@ void Deck::DumpAsPropertyTree(tools::JsonWriter& rJsonWriter) rJsonWriter.put("hidden", it->IsLurking()); rJsonWriter.put("expanded", it->IsExpanded()); + if (it->GetTitleBar() && !it->GetTitleBar()->GetMoreOptionsCommand().isEmpty()) + rJsonWriter.put("command", it->GetTitleBar()->GetMoreOptionsCommand()); + { auto children2Node = rJsonWriter.startArray("children"); { |