Replace show_accept() with show_warning()

This commit is contained in:
kobewi
2026-05-06 14:33:39 +02:00
parent fc1e443700
commit ccc91bd0f6
6 changed files with 34 additions and 57 deletions
+1 -1
View File
@@ -1027,7 +1027,7 @@ void ScriptEditor::_file_dialog_action(const String &p_file) {
Error err = _save_text_file(resource, path);
if (err != OK) {
EditorNode::get_singleton()->show_accept(TTR("Error saving file!"), TTR("OK"));
EditorNode::get_singleton()->show_warning(TTR("Error saving file!"));
return;
}