mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-09 17:36:25 +00:00
Fixed node cutting/deleting not triggering isModified state
This commit is contained in:
parent
d0c521c500
commit
b927f06b95
1 changed files with 2 additions and 0 deletions
|
@ -212,6 +212,7 @@ namespace NBTExplorer.Model
|
|||
{
|
||||
if (CanDeleteNode) {
|
||||
TagParent.DeleteTag(Tag);
|
||||
IsParentModified = true;
|
||||
return Parent.Nodes.Remove(this);
|
||||
}
|
||||
|
||||
|
@ -251,6 +252,7 @@ namespace NBTExplorer.Model
|
|||
NbtClipboardController.CopyToClipboard(new NbtClipboardData(NodeName, Tag));
|
||||
|
||||
TagParent.DeleteTag(Tag);
|
||||
IsParentModified = true;
|
||||
Parent.Nodes.Remove(this);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue