Finish MVVM conversion
This commit is contained in:
parent
9e06c343c1
commit
2a7e185dc3
5 changed files with 89 additions and 38 deletions
|
|
@ -44,8 +44,12 @@ namespace DataLayer
|
|||
get => _tags;
|
||||
set
|
||||
{
|
||||
_tags = sanitize(value);
|
||||
ItemChanged?.Invoke(this, nameof(Tags));
|
||||
var newTags = sanitize(value);
|
||||
if (_tags != newTags)
|
||||
{
|
||||
_tags = newTags;
|
||||
ItemChanged?.Invoke(this, nameof(Tags));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue