[Scene] Add SceneStringNames::confirmed
This commit is contained in:
parent
d9e2fc74c7
commit
ca18a06ecb
66 changed files with 128 additions and 124 deletions
|
|
@ -850,7 +850,7 @@ EditorPropertyLayersGrid::EditorPropertyLayersGrid() {
|
|||
rename_dialog->set_ok_button_text(TTR("Rename"));
|
||||
add_child(rename_dialog);
|
||||
rename_dialog->register_text_enter(rename_dialog_text);
|
||||
rename_dialog->connect("confirmed", callable_mp(this, &EditorPropertyLayersGrid::_rename_operation_confirm));
|
||||
rename_dialog->connect(SceneStringName(confirmed), callable_mp(this, &EditorPropertyLayersGrid::_rename_operation_confirm));
|
||||
layer_rename = memnew(PopupMenu);
|
||||
layer_rename->add_item(TTR("Rename layer"), 0);
|
||||
add_child(layer_rename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue