summaryrefslogtreecommitdiffstats
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-07 19:31:19 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-09 10:47:08 -0500
commite4067064cecd71914691580447d77de9bbc3d0b6 (patch)
tree289f4a4df4c171a27f7e37addd1bf3641c55ec94 /editor/import_dock.cpp
parent5268efdcd9b8e07ed8363f6f32a343392ab4acdf (diff)
downloadredot-engine-e4067064cecd71914691580447d77de9bbc3d0b6.tar.gz
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index 6bb71ff491..f9e5885f9d 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -671,7 +671,7 @@ ImportDock::ImportDock() {
advanced->connect("pressed", callable_mp(this, &ImportDock::_advanced_options));
reimport_confirm = memnew(ConfirmationDialog);
- reimport_confirm->get_ok_button()->set_text(TTR("Save Scenes, Re-Import, and Restart"));
+ reimport_confirm->set_ok_button_text(TTR("Save Scenes, Re-Import, and Restart"));
content->add_child(reimport_confirm);
reimport_confirm->connect("confirmed", callable_mp(this, &ImportDock::_reimport_and_restart));