fixed dock insert order bug

This commit is contained in:
Luke Campagnola 2014-05-08 10:37:23 -04:00
parent 51f0a063ee
commit 23cfdf7239

View File

@ -22,6 +22,9 @@ class Container(object):
return None
def insert(self, new, pos=None, neighbor=None):
# remove from existing parent first
new.setParent(None)
if not isinstance(new, list):
new = [new]
if neighbor is None: