[Bf-blender-cvs] [c06350d8a79] master: UI: "text not found" message in text editor, change type from ERROR to WARNING

Yevgeny Makarov noreply at git.blender.org
Tue Oct 1 20:32:32 CEST 2019


Commit: c06350d8a79fa1bfeda0772d683cb91218ea3cb7
Author: Yevgeny Makarov
Date:   Tue Oct 1 20:32:14 2019 +0200
Branches: master
https://developer.blender.org/rBc06350d8a79fa1bfeda0772d683cb91218ea3cb7

UI: "text not found" message in text editor, change type from ERROR to WARNING

Differential Revision: https://developer.blender.org/D5736

===================================================================

M	source/blender/editors/space_text/text_ops.c

===================================================================

diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index e16f90240f7..f9557225b6b 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -3484,7 +3484,7 @@ static int text_find_and_replace(bContext *C, wmOperator *op, short mode)
   }
   else {
     if (!found) {
-      BKE_reportf(op->reports, RPT_ERROR, "Text not found: %s", st->findstr);
+      BKE_reportf(op->reports, RPT_WARNING, "Text not found: %s", st->findstr);
     }
   }



More information about the Bf-blender-cvs mailing list