Fix demoting elements while moving up.
This commit is contained in:
parent
a9d0e8ee7e
commit
3a615eda8b
@ -509,7 +509,6 @@ namespace zaaReloaded2.ViewModels
|
|||||||
FormatElementBase model = lastSelectedElement.RevealModelObject() as FormatElementBase;
|
FormatElementBase model = lastSelectedElement.RevealModelObject() as FormatElementBase;
|
||||||
ControlElementBase modelAbove = _settings.Elements[index - 1] as ControlElementBase;
|
ControlElementBase modelAbove = _settings.Elements[index - 1] as ControlElementBase;
|
||||||
_settings.Elements.RemoveAt(index);
|
_settings.Elements.RemoveAt(index);
|
||||||
modelAbove.Children.Add(model);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user