sfx2/source/dialog/tabdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7c714428ff1a178378dec03cc287ab86fc35ec5a Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Fri Jul 11 17:12:16 2025 +0200 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Fri Jul 11 17:24:20 2025 +0200 tdf#167066, relates tdf#165487 - Show first tab as fallback Amends eaa970c9b9d4d8e9e29e419791f7d0dceb7c4d8c Chart dialogs with VT style had no default tab selected Change-Id: Ie4db0bdb526d53bc37a821657415681a29744daa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187734 Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org> diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 9bdc433dab5f..5bab0b7e105e 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1032,7 +1032,7 @@ void SfxTabDialogController::Start_Impl() if (m_sAppPageId.isEmpty()) { SvtViewOptions aDlgOpt(EViewType::TabDialog, m_xDialog->get_help_id()); - if (aDlgOpt.Exists()) + if (aDlgOpt.Exists() && !aDlgOpt.GetPageID().isEmpty()) m_xTabCtrl->set_current_page(aDlgOpt.GetPageID()); else m_xTabCtrl->set_current_page(0);