mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[Scene] Add SceneStringNames::confirmed
This commit is contained in:
parent
d9e2fc74c7
commit
ca18a06ecb
66 changed files with 128 additions and 124 deletions
|
@ -2058,12 +2058,12 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
|||
|
||||
delete_dialog = memnew(ConfirmationDialog);
|
||||
add_child(delete_dialog);
|
||||
delete_dialog->connect("confirmed", callable_mp(this, &SpriteFramesEditor::_animation_remove_confirmed));
|
||||
delete_dialog->connect(SceneStringName(confirmed), callable_mp(this, &SpriteFramesEditor::_animation_remove_confirmed));
|
||||
|
||||
split_sheet_dialog = memnew(ConfirmationDialog);
|
||||
add_child(split_sheet_dialog);
|
||||
split_sheet_dialog->set_title(TTR("Select Frames"));
|
||||
split_sheet_dialog->connect("confirmed", callable_mp(this, &SpriteFramesEditor::_sheet_add_frames));
|
||||
split_sheet_dialog->connect(SceneStringName(confirmed), callable_mp(this, &SpriteFramesEditor::_sheet_add_frames));
|
||||
|
||||
HBoxContainer *split_sheet_hb = memnew(HBoxContainer);
|
||||
split_sheet_dialog->add_child(split_sheet_hb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue