summaryrefslogtreecommitdiff
path: root/editor/find_in_files.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-15 12:51:06 +0100
committerGitHub <noreply@github.com>2020-12-15 12:51:06 +0100
commit93dbee9a15b5a63365cb5a9582997f6f9e1a1a89 (patch)
tree791d8102935b2e5223560b851cfd7ea91c726be3 /editor/find_in_files.cpp
parentddbdafbcf1b9ef2b16987b8c89c1a9997b60c755 (diff)
parent8509c8c8fc01c227aed1edc64ab26307a1f6dbc2 (diff)
Merge pull request #44389 from madmiraal/rename-get_ok
Rename AcceptDialog get_ok() to get_ok_button()
Diffstat (limited to 'editor/find_in_files.cpp')
-rw-r--r--editor/find_in_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp
index abcb7bbd93..8c82eca452 100644
--- a/editor/find_in_files.cpp
+++ b/editor/find_in_files.cpp
@@ -383,7 +383,7 @@ FindInFilesDialog::FindInFilesDialog() {
_replace_button = add_button(TTR("Replace..."), false, "replace");
_replace_button->set_disabled(true);
- Button *cancel_button = get_ok();
+ Button *cancel_button = get_ok_button();
cancel_button->set_text(TTR("Cancel"));
_mode = SEARCH_MODE;