vcl/jsdialog/jsdialogbuilder.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit fc4b25b3dad62f9e25462e43177ad8d081f855b2 Author: Szymon Kłos <[email protected]> AuthorDate: Mon Oct 25 15:02:30 2021 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Wed Dec 29 13:22:31 2021 +0100 jsdialog: activate tabpage after switch Change-Id: Ib9f61f9e219f1775bccccdb2304cc7ce9fc8a1ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124150 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127675 Tested-by: Jenkins 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)
