Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
This commit is contained in:
@ -581,7 +581,7 @@ PropertySelector::PropertySelector() {
|
||||
search_box->connect("gui_input", callable_mp(this, &PropertySelector::_sbox_input));
|
||||
search_options = memnew(Tree);
|
||||
vbc->add_margin_child(TTR("Matches:"), search_options, true);
|
||||
get_ok_button()->set_text(TTR("Open"));
|
||||
set_ok_button_text(TTR("Open"));
|
||||
get_ok_button()->set_disabled(true);
|
||||
register_text_enter(search_box);
|
||||
set_hide_on_ok(false);
|
||||
|
||||
Reference in New Issue
Block a user