Added 'None' netvm option
This commit is contained in:
parent
5f4526a35c
commit
ed98a1ea6e
@ -842,6 +842,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
|||||||
|
|
||||||
def init_network_menu(self):
|
def init_network_menu(self):
|
||||||
self.network_menu.clear()
|
self.network_menu.clear()
|
||||||
|
action = self.network_menu.addAction("None")
|
||||||
|
action.setCheckable(True)
|
||||||
|
action.triggered.connect(partial(self.change_network, None))
|
||||||
for vm in self.qubes_app.domains:
|
for vm in self.qubes_app.domains:
|
||||||
if vm.qid != 0 and vm.provides_network:
|
if vm.qid != 0 and vm.provides_network:
|
||||||
action = self.network_menu.addAction(vm.name)
|
action = self.network_menu.addAction(vm.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user