aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Sobrinho2016-01-24 10:51:42 -0300
committerFranklin Sobrinho2016-01-24 10:51:42 -0300
commitd0de508ff34fd53284507c49e4e129aee57e2297 (patch)
tree506b1666d1ad7f6a190a5808c196f0b5f7847593
parentc247f5ad61f2575c321fb8117ed4212611e8cdf4 (diff)
downloadgodot-d0de508ff34fd53284507c49e4e129aee57e2297.tar.gz
godot-d0de508ff34fd53284507c49e4e129aee57e2297.tar.zst
godot-d0de508ff34fd53284507c49e4e129aee57e2297.zip
Groups Editor: Clear LineEdit after creating a new group
-rw-r--r--tools/editor/groups_editor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/groups_editor.cpp b/tools/editor/groups_editor.cpp
index 6840a8b20..4b1096148 100644
--- a/tools/editor/groups_editor.cpp
+++ b/tools/editor/groups_editor.cpp
@@ -51,6 +51,8 @@ void GroupsEditor::_add_group(const String& p_group) {
undo_redo->add_undo_method(this,"update_tree");
undo_redo->commit_action();
+
+ group_name->clear();
}
void GroupsEditor::_remove_group(Object *p_item, int p_column, int p_id) {