protected void TryClearUnsavedMarker() { var allListItems = m_ListItemScrollView.Query <ListItem>(className: "listItem").ToList(); if (!allListItems.Any(_entry => _entry.IsMarkedForUnsavedChanges())) { UpdateEntryName?.Invoke(GetLabel()); } }
internal void AddUnsavedMarker() { UpdateEntryName?.Invoke(GetLabel() + UNSAVED_CHANGES_POSTFIX); }