Explorar o código

Groups Editor: Clear LineEdit after creating a new group

Franklin Sobrinho %!s(int64=9) %!d(string=hai) anos
pai
achega
d0de508ff3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tools/editor/groups_editor.cpp

+ 2 - 0
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) {