Arch: Fixed drag-n-drop in Arch groups

This commit is contained in:
Yorik van Havre
2016-09-16 19:57:06 -03:00
parent 574e85be9d
commit a632051d1e

View File

@@ -109,6 +109,11 @@ class _Floor:
def __setstate__(self,state):
if state:
self.Type = state
def onChanged(self,obj,prop):
if not hasattr(self,"Object"):
# on restore, self.Object is not there anymore
self.Object = obj
def execute(self,obj):
# move children with this floor