svx/source/dialog/srchdlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 72b50146447dea1089df2ed3400ba13654247de9
Author: Saburo Yoshida <[email protected]>
AuthorDate: Thu Feb 26 21:35:16 2026 +0900
Commit: Aron Budea <[email protected]>
CommitDate: Fri Feb 27 03:41:51 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
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200552
Tested-by: Jenkins CollaboraOffice <[email protected]>
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index b94a6b38bd09..0c9f3e96f3d5 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -611,6 +611,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 )