Allow firewall for every networked VM (but not NetVM) (#167)
This commit is contained in:
parent
bab00b58d5
commit
00aea2d3bf
@ -557,7 +557,7 @@ class VmManagerWindow(QMainWindow):
|
|||||||
self.action_pausevm.setEnabled(vm.is_running() and vm.qid != 0)
|
self.action_pausevm.setEnabled(vm.is_running() and vm.qid != 0)
|
||||||
self.action_shutdownvm.setEnabled(vm.is_running() and vm.qid != 0)
|
self.action_shutdownvm.setEnabled(vm.is_running() and vm.qid != 0)
|
||||||
self.action_updatevm.setEnabled(vm.is_updateable() and not vm.is_running())
|
self.action_updatevm.setEnabled(vm.is_updateable() and not vm.is_running())
|
||||||
self.action_editfwrules.setEnabled(vm.is_networked() and (vm.is_appvm() or vm.is_disposablevm()))
|
self.action_editfwrules.setEnabled(vm.is_networked() and not (vm.is_netvm() and not vm.is_proxyvm()))
|
||||||
|
|
||||||
def get_minimum_table_width(self):
|
def get_minimum_table_width(self):
|
||||||
tbl_W = 0
|
tbl_W = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user