You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename AcceptDialog get_ok() to get_ok_button()
Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
This commit is contained in:
@@ -345,9 +345,9 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_amount->set_value(128);
|
||||
vbc->add_margin_child(TTR("Amount:"), populate_amount);
|
||||
|
||||
populate_dialog->get_ok()->set_text(TTR("Populate"));
|
||||
populate_dialog->get_ok_button()->set_text(TTR("Populate"));
|
||||
|
||||
populate_dialog->get_ok()->connect("pressed", callable_mp(this, &MultiMeshEditor::_populate));
|
||||
populate_dialog->get_ok_button()->connect("pressed", callable_mp(this, &MultiMeshEditor::_populate));
|
||||
std = memnew(SceneTreeDialog);
|
||||
populate_dialog->add_child(std);
|
||||
std->connect("selected", callable_mp(this, &MultiMeshEditor::_browsed));
|
||||
|
||||
Reference in New Issue
Block a user