svx/source/dialog/srchdlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 86ce383a46c0d24e4e912de1cf14732f4bde971a
Author:     Saburo Yoshida <[email protected]>
AuthorDate: Thu Feb 26 21:35:16 2026 +0900
Commit:     Xisco Fauli <[email protected]>
CommitDate: Fri Feb 27 10:58:13 2026 +0100

    tdf#171009 svx: reset the no matches found error
    
    Change-Id: I0d23294e34e17facdc6c8f84795fb6786516a5d6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200424
    Reviewed-by: Saburo Yoshida <[email protected]>
    Reviewed-by: Aron Budea <[email protected]>
    Tested-by: Jenkins
    (cherry picked from commit ddcba12df6b56702499f9789a5aa9a1ac05043fe)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200563
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index d167b729a514..1224e755b00e 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -594,6 +594,8 @@ void SvxSearchDialog::SetSearchLabel(const OUString& rStr)
 
     if (rStr == SvxResId(RID_SVXSTR_SEARCH_NOT_FOUND))
         m_xSearchLB->set_entry_message_type(weld::EntryMessageType::Error);
+    else
+        m_xSearchLB->set_entry_message_type(weld::EntryMessageType::Normal);
 }
 
 void SvxSearchDialog::ApplyTransliterationFlags_Impl( TransliterationFlags 
nSettings )

Reply via email to