1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

fix single space tagname issue

This commit is contained in:
dinesh1160
2025-12-07 18:42:48 +05:30
parent dec5a373d9
commit e9aa840b96

View File

@@ -1068,7 +1068,7 @@ void ProjectManager::_apply_project_tags() {
void ProjectManager::_set_new_tag_name(const String p_name) {
create_tag_dialog->get_ok_button()->set_disabled(true);
if (p_name.is_empty()) {
if (p_name.strip_edges().is_empty()) {
tag_error->set_text(TTRC("Tag name can't be empty."));
return;
}