You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user