MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _select_file

Method _select_file

editor/file_system/dependency_editor.cpp:327–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void DependencyEditorOwners::_select_file(int p_idx) {
328 String fpath = owners->get_item_text(p_idx);
329 EditorNode::get_singleton()->load_scene_or_resource(fpath);
330
331 hide();
332 emit_signal(SceneStringName(confirmed));
333}
334
335void DependencyEditorOwners::_empty_clicked(const Vector2 &p_pos, MouseButton p_mouse_button_index) {
336 if (p_mouse_button_index != MouseButton::LEFT) {

Callers

nothing calls this directly

Calls 2

get_item_textMethod · 0.45

Tested by

no test coverage detected