summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-10-25 15:02:30 +0200
committerAndras Timar <andras.timar@collabora.com>2022-02-14 11:25:38 +0100
commit39668d7177158bb9ae016e3f4e7cb8ea2fb954a9 (patch)
treec06db79be16a0703cca51585dbac8060f4e5507e /vcl
parent3aa2ce8975a7ad7d50a2f9e145cc6f374d37143f (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')
-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 eec130945faa..e285e983cde2 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -1239,6 +1239,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)
@@ -1250,6 +1252,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)