sw/source/ui/chrdlg/swuiccoll.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba9e78e00fda5438fa743dd44f4a3b2f854cf61f
Author:     Justin Luth <justin_l...@sil.org>
AuthorDate: Thu May 5 21:08:24 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri May 6 15:55:45 2022 +0200

    tdf#91035 sw page-style UI: All styles shown, not hidden
    
    The first entry in the list (All styles) is what is shown
    by default, so that means that the 0th entry should be
    pre-selected, not the 1st.
    
    Change-Id: I4c204fda41a0551b9f30724df361e4f797a87325
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133911
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>
    (cherry picked from commit 3a79bd968869f782b8540aea6598c1f8ee14cced)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133862
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx 
b/sw/source/ui/chrdlg/swuiccoll.cxx
index c0953f830ff5..2b1aca870165 100644
--- a/sw/source/ui/chrdlg/swuiccoll.cxx
+++ b/sw/source/ui/chrdlg/swuiccoll.cxx
@@ -86,7 +86,7 @@ SwCondCollPage::SwCondCollPage(weld::Container* pPage, 
weld::DialogController* p
         }
     }
 
-    m_xFilterLB->set_active(1);
+    m_xFilterLB->set_active(0);
     m_xTbLinks->show();
 }
 

Reply via email to