diff options
Diffstat (limited to 'editor/dependency_editor.cpp')
-rw-r--r-- | editor/dependency_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index 0c870baec1..c83e677b37 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -327,7 +327,7 @@ void DependencyEditorOwners::_select_file(int p_idx) { EditorNode::get_singleton()->load_resource(fpath); } hide(); - emit_signal(SNAME("confirmed")); + emit_signal(SceneStringName(confirmed)); } void DependencyEditorOwners::_empty_clicked(const Vector2 &p_pos, MouseButton p_mouse_button_index) { @@ -875,7 +875,7 @@ OrphanResourcesDialog::OrphanResourcesDialog() { add_child(delete_confirm); dep_edit = memnew(DependencyEditor); add_child(dep_edit); - delete_confirm->connect("confirmed", callable_mp(this, &OrphanResourcesDialog::_delete_confirm)); + delete_confirm->connect(SceneStringName(confirmed), callable_mp(this, &OrphanResourcesDialog::_delete_confirm)); set_hide_on_ok(false); VBoxContainer *vbc = memnew(VBoxContainer); |