Beispiel #1
0
        protected void TryClearUnsavedMarker()
        {
            var allListItems = m_ListItemScrollView.Query <ListItem>(className: "listItem").ToList();

            if (!allListItems.Any(_entry => _entry.IsMarkedForUnsavedChanges()))
            {
                UpdateEntryName?.Invoke(GetLabel());
            }
        }
Beispiel #2
0
 internal void AddUnsavedMarker()
 {
     UpdateEntryName?.Invoke(GetLabel() + UNSAVED_CHANGES_POSTFIX);
 }