Skip to content

Commit

Permalink
Merge remote-tracking branch 'qubesos/pr/157'
Browse files Browse the repository at this point in the history
* qubesos/pr/157:
  Fixed error in detecting dvm-template having different NetVM
  • Loading branch information
marmarek committed Feb 26, 2019
2 parents 74987f6 + b31a154 commit 94cefc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,11 @@ def check_warn_dispvmnetvm(self):

if dispvm == qubesadmin.DEFAULT:
dispvm = self.vm.property_get_default('default_dispvm')

if dispvm == self.vm:
self.warn_netvm_dispvm.setVisible(False)
return

dispvm_netvm = getattr(dispvm, 'netvm', None)

if own_netvm == qubesadmin.DEFAULT:
Expand Down

0 comments on commit 94cefc9

Please sign in to comment.