void _path_selected(const String& p_path) { String p = p_path; String sp = p.simplify_path(); project_path->set_text(sp); _path_text_changed(p); }
void _path_selected(const String& p_path) { String p = p_path; String sp = p.simplify_path(); project_path->set_text(sp); _path_text_changed(p); get_ok()->call_deferred("grab_focus"); }
void _file_selected(const String& p_path) { String p = p_path; if (import_mode) { if (p.ends_with("engine.cfg")) { p=p.get_base_dir(); } } String sp = p.simplify_path(); project_path->set_text(sp); _path_text_changed(p); }
void _file_selected(const String& p_path) { String p = p_path; if (mode==MODE_IMPORT) { if (p.ends_with("engine.cfg")) { p=p.get_base_dir(); } } String sp = p.simplify_path(); project_path->set_text(sp); _path_text_changed(p); get_ok()->call_deferred("grab_focus"); }