From 008baad86a31b6f20345890d3f799ae99765fed8 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 30 Jan 2018 17:39:33 +0700 Subject: [PATCH] Update link state and save project when a link is suspended or filters are added/removed (without node properties set). --- gns3server/controller/link.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gns3server/controller/link.py b/gns3server/controller/link.py index 0c9d5bc4..b01490fa 100644 --- a/gns3server/controller/link.py +++ b/gns3server/controller/link.py @@ -171,12 +171,16 @@ class Link: self._filters = new_filters if self._created: yield from self.update() + self._project.controller.notification.emit("link.updated", self.__json__()) + self._project.dump() @asyncio.coroutine def update_suspend(self, value): if value != self._suspend: self._suspend = value yield from self.update() + self._project.controller.notification.emit("link.updated", self.__json__()) + self._project.dump() @property def created(self):