Fix for misleading doc string of panel header options.
authorLukas Toenne <lukas.toenne@googlemail.com>
Wed, 12 Dec 2012 12:50:45 +0000 (12:50 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Wed, 12 Dec 2012 12:50:45 +0000 (12:50 +0000)
source/blender/makesrna/intern/rna_ui.c

index a0a9f6183afbfb0e2a7d956a98cccdb133f7c574..de359fd641390c340370ace264c5dec50d6b9162 100644 (file)
@@ -651,8 +651,8 @@ static void rna_def_panel(BlenderRNA *brna)
        static EnumPropertyItem panel_flag_items[] = {
                {PNL_DEFAULT_CLOSED, "DEFAULT_CLOSED", 0, "Default Closed",
                                     "Defines if the panel has to be open or collapsed at the time of its creation"},
-               {PNL_NO_HEADER, "HIDE_HEADER", 0, "Show Header",
-                               "If set to True, the panel shows a header, which contains a clickable "
+               {PNL_NO_HEADER, "HIDE_HEADER", 0, "Hide Header",
+                               "If set to False, the panel shows a header, which contains a clickable "
                                "arrow to collapse the panel and the label (see bl_label)"},
                {0, NULL, 0, NULL, NULL}
        };