diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-14 18:37:30 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-14 18:43:52 +0000 |
commit | 8509c8c8fc01c227aed1edc64ab26307a1f6dbc2 (patch) | |
tree | 58287e2cb7ae91e262575f08da2188be1ebb043f /editor/editor_feature_profile.cpp | |
parent | a511a26ad82bf70ed00ab34a3201ec5c6049387f (diff) | |
download | redot-engine-8509c8c8fc01c227aed1edc64ab26307a1f6dbc2.tar.gz |
Rename AcceptDialog get_ok() to get_ok_button()
Also renames:
- AcceptDialog add_cancel() to add_cancel_button()
- ConfirmationDiaglog get_cancel() to get_cancel_button()
Diffstat (limited to 'editor/editor_feature_profile.cpp')
-rw-r--r-- | editor/editor_feature_profile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_feature_profile.cpp b/editor/editor_feature_profile.cpp index 7335563dd9..05bc2edefb 100644 --- a/editor/editor_feature_profile.cpp +++ b/editor/editor_feature_profile.cpp @@ -890,7 +890,7 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() { add_child(new_profile_dialog); new_profile_dialog->connect("confirmed", callable_mp(this, &EditorFeatureProfileManager::_create_new_profile)); new_profile_dialog->register_text_enter(new_profile_name); - new_profile_dialog->get_ok()->set_text(TTR("Create")); + new_profile_dialog->get_ok_button()->set_text(TTR("Create")); erase_profile_dialog = memnew(ConfirmationDialog); add_child(erase_profile_dialog); |