[Scene] Add SceneStringNames::confirmed
This commit is contained in:
@@ -1026,14 +1026,14 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() {
|
||||
new_profile_vb->add_child(new_profile_name);
|
||||
new_profile_name->set_custom_minimum_size(Size2(300 * EDSCALE, 1));
|
||||
add_child(new_profile_dialog);
|
||||
new_profile_dialog->connect("confirmed", callable_mp(this, &EditorFeatureProfileManager::_create_new_profile));
|
||||
new_profile_dialog->connect(SceneStringName(confirmed), callable_mp(this, &EditorFeatureProfileManager::_create_new_profile));
|
||||
new_profile_dialog->register_text_enter(new_profile_name);
|
||||
new_profile_dialog->set_ok_button_text(TTR("Create"));
|
||||
|
||||
erase_profile_dialog = memnew(ConfirmationDialog);
|
||||
add_child(erase_profile_dialog);
|
||||
erase_profile_dialog->set_title(TTR("Remove Profile"));
|
||||
erase_profile_dialog->connect("confirmed", callable_mp(this, &EditorFeatureProfileManager::_erase_selected_profile));
|
||||
erase_profile_dialog->connect(SceneStringName(confirmed), callable_mp(this, &EditorFeatureProfileManager::_erase_selected_profile));
|
||||
|
||||
import_profiles = memnew(EditorFileDialog);
|
||||
add_child(import_profiles);
|
||||
|
||||
Reference in New Issue
Block a user