Fix #7367 - only show add child on addable objects
[roobuilder] / src / Builder4 / Editor.bjs
index 8a457c1..07cc131 100644 (file)
          "\t\t_this.forwardSearch(true);",
          "\t    return true;",
          "\t}",
+         "\tif (event.keyval == Gdk.Key.f && (event.state & Gdk.ModifierType.CONTROL_MASK ) > 0 ) {",
+         "\t    GLib.debug(\"SAVE: ctrl-f  pressed\");",
+         "\t\t_this.search_entry.el.grab_focus();",
+         "\t    return true;",
+         "\t}",
          "    ",
          "   // print(event.key.keyval)",
          "    ",