src/JsRender/NodeProp.vala
authorAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:46:30 +0000 (16:46 +0800)
committerAlan <alan@roojs.com>
Tue, 28 Jun 2022 08:46:30 +0000 (16:46 +0800)
src/JsRender/NodeProp.vala

index 575f86c..dce3630 100644 (file)
@@ -354,7 +354,7 @@ public class JsRender.NodeProp : Object {
         
        public string to_property_option_markup(bool isbold)
        {
-               return "<b>" + this.name + "</b>";
+               return isbold ?  "<b>" + this.name + "</b>" : this.name;
        }
        
        public string to_property_option_tooltip()