summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-03-04 16:04:08 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-05-20 13:10:14 +0200
commitfe0176fa4776afb5a2a0a8dc82b8265fb2b2cf31 (patch)
tree8e49f355ee804621fe5d737bcb182adcda57584e /desktop
parent0a3d414fb0ac27292320d99f802722a8a9670240 (diff)
jsdialog: send tab names
Change-Id: Iaae09ec6fc1af0de7f052b89a09ea184a023be70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94182 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94557 Tested-by: Jenkins
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 451f3149d67f..c8fc49c94bf8 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3607,6 +3607,12 @@ static void doc_sendDialogEvent(LibreOfficeKitDocument* /*pThis*/, unsigned nWin
aMap["VALUE"] = aMap["data"];
pUIWindow->execute(sValue, aMap);
}
+ else if (aMap["cmd"] == "selecttab")
+ {
+ aMap["POS"] = aMap["data"];
+
+ pUIWindow->execute(sSelectAction, aMap);
+ }
else
bIsClickAction = true;
}