sfx2/source/dialog/styledlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c8acf629967aed607aa639ef8fd00de67431168d
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed Jun 18 14:37:10 2025 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Jun 18 17:45:05 2025 +0200

    Revert "tdf#165487 Always select a tab page by default"
    
    After
    commit eaa970c9b9d4d8e9e29e419791f7d0dceb7c4d8c
    Author: Heiko Tietze <tietze.he...@gmail.com>
    Date:   Wed Jun 18 11:26:24 2025 +0200
    
        Resolves tdf#167066, relates tdf#165487 - Show first tab as fallback
    
    so it fixes
    https://bugs.documentfoundation.org/show_bug.cgi?id=165487#c16
    
    This reverts commit a91494780bb59afe8c971003e6b809f1e66df050.
    
    Change-Id: Id268a8aaff7c0df48b29bdf150a97dad8fa08d1b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186663
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index c4bab0881d54..9e5abc01aa73 100644
--- a/sfx2/source/dialog/styledlg.cxx
+++ b/sfx2/source/dialog/styledlg.cxx
@@ -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() || GetCurPageId().isEmpty())
+    if (rStyle.GetName().isEmpty())
         SetCurPageId(u"organizer"_ustr);
     else
     {

Reply via email to