diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-16 11:28:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-16 11:28:15 +0200 |
commit | 5614692a1a82ef0ce6fa1d268903ff38787bd728 (patch) | |
tree | 4cb00e982c8cf1765b34d7fdfae5668da7cc5de1 /editor/inspector_dock.cpp | |
parent | 787be50f1760be541e97b18a371abccc9c9b1ac9 (diff) | |
parent | 75d5d81b8aa745e4239ff05f16e5247d077b47c8 (diff) |
Merge pull request #22133 from YeldhamDev/all_oks_shall_be_banished
Remove unnecessary "OK"s text settings
Diffstat (limited to 'editor/inspector_dock.cpp')
-rw-r--r-- | editor/inspector_dock.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp index 5ab764fb15..16cba1db77 100644 --- a/editor/inspector_dock.cpp +++ b/editor/inspector_dock.cpp @@ -158,7 +158,6 @@ void InspectorDock::_resource_file_selected(String p_file) { RES res = ResourceLoader::load(p_file); if (res.is_null()) { - warning_dialog->get_ok()->set_text(TTR("OK")); warning_dialog->set_text(TTR("Failed to load resource.")); return; }; @@ -319,7 +318,6 @@ void InspectorDock::_transform_keyed(Object *sp, const String &p_sub, const Tran } void InspectorDock::_warning_pressed() { - warning_dialog->get_ok()->set_text(TTR("Ok")); warning_dialog->popup_centered_minsize(); } |