basctl/source/basicide/moduldlg.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
New commits: commit 9f6be5d9ce3f2ffb7180aa4bda4bd575fd9928e5 Author: Caolán McNamara <[email protected]> AuthorDate: Tue Feb 25 15:23:24 2020 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Feb 26 09:51:34 2020 +0100 explicitly call ActivatePageHdl when programatically calling set_current_page Change-Id: I6113e51565cf4f89e77829f56e08f6b98f2fe244 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89462 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 2e7191ee8abe..2cd8bd8009b3 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -192,12 +192,15 @@ OrganizeDialog::OrganizeDialog(weld::Window* pParent, sal_Int16 tabId ) { m_xTabCtrl->connect_enter_page(LINK(this, OrganizeDialog, ActivatePageHdl)); + OString sPage; if (tabId == 0) - m_xTabCtrl->set_current_page("modules"); + sPage = "modules"; else if (tabId == 1) - m_xTabCtrl->set_current_page("dialogs"); + sPage = "dialogs"; else - m_xTabCtrl->set_current_page("libraries"); + sPage = "libraries"; + m_xTabCtrl->set_current_page(sPage); + ActivatePageHdl(sPage); if (SfxDispatcher* pDispatcher = GetDispatcher()) pDispatcher->Execute( SID_BASICIDE_STOREALLMODULESOURCES ); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
