tdf#165487 Always select a tab page by default
Change-Id: Iba56e9a519d45e1e1962bfdaaccc8f062d001286 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182340 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
This commit is contained in:
@@ -46,7 +46,7 @@ SfxStyleDialogController::SfxStyleDialogController
|
||||
AddTabPage(u"organizer"_ustr, SfxManageStyleSheetPage::Create, nullptr);
|
||||
|
||||
// With new template always set the management page as the current page
|
||||
if (rStyle.GetName().isEmpty())
|
||||
if (rStyle.GetName().isEmpty() || GetCurPageId().isEmpty())
|
||||
SetCurPageId(u"organizer"_ustr);
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user