fix firewall apply (#600)

Inhibit infinite loop.
This commit is contained in:
Marek Marczykowski 2012-06-19 00:08:58 +02:00
parent c28001585b
commit 2fb2f6478e

View File

@ -272,7 +272,7 @@ class QubesFirewallRulesModel(QAbstractItemModel):
while vm is not None:
if vm.is_proxyvm() and vm.is_running():
vm.write_iptables_xenstore_entry()
vm = vm.netvm
def index(self, row, column, parent=QModelIndex()):
if not self.hasIndex(row, column, parent):