소스 검색

Merge pull request #3432 from TheHX/pr-groups-editor

Groups Editor: Clear LineEdit after creating a new group
Rémi Verschelde 9 년 전
부모
커밋
6eb616087d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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) {