summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-24 10:51:42 -0300
committerFranklin Sobrinho <franklin_gs@hotmail.com>2016-01-24 10:51:42 -0300
commitd0de508ff34fd53284507c49e4e129aee57e2297 (patch)
tree506b1666d1ad7f6a190a5808c196f0b5f7847593
parentc247f5ad61f2575c321fb8117ed4212611e8cdf4 (diff)
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 6840a8b205..4b1096148a 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) {