Pārlūkot izejas kodu

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

Groups Editor: Clear LineEdit after creating a new group
Rémi Verschelde 9 gadi atpakaļ
vecāks
revīzija
6eb616087d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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) {