diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-20 14:04:11 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-03-20 14:04:29 -0400 |
commit | bc393b5f1fb53a3a383d6a3da143bc1472f072a0 (patch) | |
tree | 7ac6971c73f9a92dfedd89cf89275bc98d8f657f | |
parent | e4c182f39d068c0ea09c8f85e8911ffa17390227 (diff) | |
download | virt-manager-bc393b5f1fb53a3a383d6a3da143bc1472f072a0.tar.gz |
details: Don't try to show machine type for management domain
-rw-r--r-- | virtManager/details.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtManager/details.py b/virtManager/details.py index 8a9b9935..e0ad25ab 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -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) |