mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
virtinst: clean @listen attribute on listen=none
Clear the obsolete @listen attribute when setting listen to none. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
ae3cc58369
commit
4c82ff59e8
@ -226,6 +226,7 @@ class VirtualGraphics(VirtualDevice):
|
||||
|
||||
def set_listen_none(self):
|
||||
self.remove_all_listens()
|
||||
self.listen = None
|
||||
self.port = None
|
||||
self.tlsPort = None
|
||||
self.autoport = None
|
||||
|
Loading…
Reference in New Issue
Block a user