From 8f077de13e78cda0f626fa9ae386496ceba60c69 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Mon, 25 Oct 2021 15:02:30 +0200 Subject: jsdialog: activate tabpage after switch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib9f61f9e219f1775bccccdb2304cc7ce9fc8a1ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124225 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos --- vcl/jsdialog/jsdialogbuilder.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl') diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index 56163a3e377d..431b9a46df8a 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -983,6 +983,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) @@ -994,6 +996,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) -- cgit v1.2.3