Fix demoting elements while moving up.

This commit is contained in:
Daniel Kraus committed 2015-08-12 22:54:29 +02:00
1 parent a9d0e8ee7e
commit 3a615eda8b
1 file changed
-1
@@ -509,7 +509,6 @@ namespace zaaReloaded2.ViewModels
FormatElementBase model = lastSelectedElement.RevealModelObject() as FormatElementBase;
ControlElementBase modelAbove = _settings.Elements[index - 1] as ControlElementBase;
_settings.Elements.RemoveAt(index);
modelAbove.Children.Add(model);
}
}
else