Merge remote-tracking branch 'qubesos/pr/157'
* qubesos/pr/157: Fixed error in detecting dvm-template having different NetVM
This commit is contained in:
commit
94cefc9d09
@ -575,6 +575,11 @@ class VMSettingsWindow(ui_settingsdlg.Ui_SettingsDialog, QtGui.QDialog):
|
|||||||
|
|
||||||
if dispvm == qubesadmin.DEFAULT:
|
if dispvm == qubesadmin.DEFAULT:
|
||||||
dispvm = self.vm.property_get_default('default_dispvm')
|
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)
|
dispvm_netvm = getattr(dispvm, 'netvm', None)
|
||||||
|
|
||||||
if own_netvm == qubesadmin.DEFAULT:
|
if own_netvm == qubesadmin.DEFAULT:
|
||||||
|
Loading…
Reference in New Issue
Block a user