}
- GLib.debug("load leftprops\n");
+ GLib.debug("load leftprops");
this.node = node;
this.file = file;
//this.get('/RightEditor').el.hide();
if (node ==null) {
+ GLib.debug("node is null return");
return ;
}
}
if (l.get_visible()) {
_this.stop_editor();
+ if (prop.parent == null) {
+ return;
+ }
_this.show_editor(_this.file, prop.parent, prop);
}
var lb = (Gtk.Label) ((Gtk.ListItem)listitem).get_child();
var item = (JsRender.NodeProp) ((Gtk.ListItem)listitem).get_item();
-
+ if (item == null) {
+ return;
+ }
item.bind_property("to_display_name_prop",
lb, "label",
GLib.BindingFlags.SYNC_CREATE);
cb.hide();
var prop = (JsRender.NodeProp) ((Gtk.ListItem)listitem).get_item();
+ if (prop == null || _this.node == null ) {
+ GLib.error("something is wrong");
+ return;
+ }
+ if ( _this.node.fqn() == "") {
+ GLib.debug("node is missing fqn");
+ return;
+ }
+
//GLib.debug("prop = %s", prop.get_type().name());
//GLib.debug("prop.val = %s", prop.val);
//GLib.debug("prop.key = %s", prop.to_display_name());