Fix #7367 - only show add child on addable objects
[roobuilder] / src / Builder4 / GtkView.bjs
index ef61641..494783e 100644 (file)
              "\t\t_this.forwardSearch(true);",
              "\t    return true;",
              "\t}",
-             "    ",
+             "    if (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}",
              "\t ",
              "\treturn false;",
              "}\t ",