void (@NlsSafe @NotNull String name, @Nls @Nullable String comment, boolean forceCreate) { if (StringUtil.isEmptyOrSpaces(name)) return; LocalChangeList changelistByName = getExistingChangelistByName(name); if (changelistByName != null) { myExistingListsCombo.setSelectedItem(changelistByName); } else if (forceCreate || VcsApplicationSettings.getInstance().CREATE_CHANGELISTS_AUTOMATICALLY) { myNewNameSuggested = true; myExistingListsCombo.insertItemAt(LocalChangeList.createEmptyChangeList(myProject, name), 0); if (StringUtil.isEmptyOrSpaces(myLastTypedDescription)) { myLastTypedDescription = comment; } if (VcsConfiguration.getInstance(myProject).PRESELECT_EXISTING_CHANGELIST) { selectActiveChangeListIfExist(); } else { myListPanel.setChangeListName(name); } } updateDescription(); }