src/Builder4/PopoverProperty.vala
"\t// check if text is not empty..",
"\tif ( _this.kname.el.get_text().strip().length < 1) {",
"\t\t// error should already be showing?",
- "\t\treturn;",
+ "\t\treturn false;",
"\t}",
"\t_this.updateProp();",
"\t",
"\tvar prop = _this.prop;",
"\tif (_this.node.props.has_key(prop.to_index_key())) {",
"\t\t_this.error.setError(\"Property already exists\");",
- "\t\treturn;\t",
+ "\t\treturn false;\t",
"\t}",
"\t",
"\t",
// check if text is not empty..
if ( _this.kname.el.get_text().strip().length < 1) {
// error should already be showing?
- return;
+ return false;
}
_this.updateProp();
var prop = _this.prop;
if (_this.node.props.has_key(prop.to_index_key())) {
_this.error.setError("Property already exists");
- return;
+ return false;
}