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):
f = super().copy()
f.live = False
if self.reply is not None:
f.reply = controller.DummyReply()
return f
def modified(self):