summaryrefslogtreecommitdiff
path: root/editor/inspector_dock.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-16 11:28:15 +0200
committerGitHub <noreply@github.com>2018-09-16 11:28:15 +0200
commit5614692a1a82ef0ce6fa1d268903ff38787bd728 (patch)
tree4cb00e982c8cf1765b34d7fdfae5668da7cc5de1 /editor/inspector_dock.cpp
parent787be50f1760be541e97b18a371abccc9c9b1ac9 (diff)
parent75d5d81b8aa745e4239ff05f16e5247d077b47c8 (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.cpp2
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();
}