Allow firewall for every networked VM (but not NetVM) (#167)

This commit is contained in:
Marek Marczykowski 2011-03-31 23:59:37 +02:00
parent bab00b58d5
commit 00aea2d3bf

View File

@ -557,7 +557,7 @@ class VmManagerWindow(QMainWindow):
self.action_pausevm.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_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):
tbl_W = 0