You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
[Scene] Add SceneStringNames::confirmed
This commit is contained in:
@@ -688,7 +688,7 @@ Path2DEditor::Path2DEditor() {
|
||||
clear_points_dialog = memnew(ConfirmationDialog);
|
||||
clear_points_dialog->set_title(TTR("Please Confirm..."));
|
||||
clear_points_dialog->set_text(TTR("Remove all curve points?"));
|
||||
clear_points_dialog->connect("confirmed", callable_mp(this, &Path2DEditor::_mode_selected).bind(MODE_CLEAR_POINTS));
|
||||
clear_points_dialog->connect(SceneStringName(confirmed), callable_mp(this, &Path2DEditor::_mode_selected).bind(MODE_CLEAR_POINTS));
|
||||
add_child(clear_points_dialog);
|
||||
|
||||
PopupMenu *menu;
|
||||
|
||||
Reference in New Issue
Block a user