From 8509c8c8fc01c227aed1edc64ab26307a1f6dbc2 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Mon, 14 Dec 2020 18:37:30 +0000 Subject: Rename AcceptDialog get_ok() to get_ok_button() Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button() --- editor/find_in_files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/find_in_files.cpp') 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; -- cgit v1.2.3