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

New commits:
commit ddcba12df6b56702499f9789a5aa9a1ac05043fe
Author:     Saburo Yoshida <[email protected]>
AuthorDate: Thu Feb 26 21:35:16 2026 +0900
Commit:     Aron Budea <[email protected]>
CommitDate: Fri Feb 27 02:29:49 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

diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 2042e1d731a0..c7d821b6c36c 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -597,6 +597,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