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/import_dock.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/import_dock.cpp')
-rw-r--r-- | editor/import_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp index 8ab2e0aef1..5582f9f5f0 100644 --- a/editor/import_dock.cpp +++ b/editor/import_dock.cpp @@ -536,7 +536,7 @@ ImportDock::ImportDock() { hb->add_spacer(); reimport_confirm = memnew(ConfirmationDialog); - reimport_confirm->get_ok()->set_text(TTR("Save Scenes, Re-Import, and Restart")); + reimport_confirm->get_ok_button()->set_text(TTR("Save Scenes, Re-Import, and Restart")); add_child(reimport_confirm); reimport_confirm->connect("confirmed", callable_mp(this, &ImportDock::_reimport_and_restart)); |