diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 00:55:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 00:55:36 +0300 |
commit | 39a1d4527950fe32b9a421ce366b012a5fe1fa79 (patch) | |
tree | b00de3a686590037fa3c043c51700d0a332beb11 /source/blender/makesrna/intern/rna_screen.c | |
parent | 79ff9a0e19018982baa6dbc9fe6c68b7819f5b9a (diff) |
WM: correct description for header/status_text_set
Make text a required argument for both.
Diffstat (limited to 'source/blender/makesrna/intern/rna_screen.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c index 5220d0ef4fb..fdfbdfa4b39 100644 --- a/source/blender/makesrna/intern/rna_screen.c +++ b/source/blender/makesrna/intern/rna_screen.c @@ -332,7 +332,7 @@ static void rna_def_area_api(StructRNA *srna) func = RNA_def_function(srna, "header_text_set", "ED_area_status_text"); RNA_def_function_ui_description(func, "Set the header status text"); - parm = RNA_def_string(func, "text", NULL, 0, "Text", "New string for the header, no argument clears the text"); + parm = RNA_def_string(func, "text", NULL, 0, "Text", "New string for the header, empty string clears the text"); RNA_def_parameter_flags(parm, 0, PARM_REQUIRED); } |