summaryrefslogtreecommitdiff
path: root/vcl/jsdialog
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-10-25 15:02:30 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2021-12-29 13:22:31 +0100
commitfc4b25b3dad62f9e25462e43177ad8d081f855b2 (patch)
tree2e15ca2e7d0b6c9f7070f5592ccda37cfed7daae /vcl/jsdialog
parent4242c7b91887236375e08e2b6b24de0cecbf1626 (diff)
jsdialog: activate tabpage after switch
Change-Id: Ib9f61f9e219f1775bccccdb2304cc7ce9fc8a1ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124150 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127675 Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r--vcl/jsdialog/jsdialogbuilder.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 9792ce9dd1aa..8036f3d004e5 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -1236,6 +1236,8 @@ void JSNotebook::set_current_page(int nPage)
SalInstanceNotebook::set_current_page(nPage);
sendFullUpdate(bForce);
+
+ m_aEnterPageHdl.Call(get_current_page_ident());
}
void JSNotebook::set_current_page(const OString& rIdent)
@@ -1247,6 +1249,8 @@ void JSNotebook::set_current_page(const OString& rIdent)
SalInstanceNotebook::set_current_page(rIdent);
sendFullUpdate(bForce);
+
+ m_aEnterPageHdl.Call(get_current_page_ident());
}
void JSNotebook::remove_page(const OString& rIdent)