Merge pull request #2098 from iharsh234/bug-2086-2

Fix crash when duplicating flow
This commit is contained in:
Aldo Cortesi 2017-03-15 09:20:33 +13:00 committed by GitHub
commit eba6d4359c

View File

@ -113,6 +113,8 @@ class Flow(stateobject.StateObject):
def copy(self): def copy(self):
f = super().copy() f = super().copy()
f.live = False f.live = False
if self.reply is not None:
f.reply = controller.DummyReply()
return f return f
def modified(self): def modified(self):