You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
This commit is contained in:
@@ -347,7 +347,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
||||
populate_amount->set_value(128);
|
||||
vbc->add_margin_child(TTR("Amount:"), populate_amount);
|
||||
|
||||
populate_dialog->get_ok_button()->set_text(TTR("Populate"));
|
||||
populate_dialog->set_ok_button_text(TTR("Populate"));
|
||||
|
||||
populate_dialog->get_ok_button()->connect("pressed", callable_mp(this, &MultiMeshEditor::_populate));
|
||||
std = memnew(SceneTreeDialog);
|
||||
|
||||
Reference in New Issue
Block a user