mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-25 23:21:45 +03:00
details: Don't try to show machine type for management domain
This commit is contained in:
parent
e4c182f39d
commit
bc393b5f1f
@ -883,7 +883,8 @@ class vmmDetails(vmmGObjectUI):
|
||||
uiutil.set_combo_text_column(machtype_combo, 0)
|
||||
machtype_model.set_sort_column_id(0, Gtk.SortType.ASCENDING)
|
||||
|
||||
show_machine = (arch not in ["i686", "x86_64"])
|
||||
show_machine = (arch not in ["i686", "x86_64"] and
|
||||
not self.vm.is_management_domain())
|
||||
uiutil.set_grid_row_visible(self.widget("machine-type"),
|
||||
show_machine)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user