summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-02-08 18:20:59 -0500
committerCole Robinson <crobinso@redhat.com>2012-02-08 18:20:59 -0500
commit67ca0a9f34b710c92c9f5b16c763018577ec47e0 (patch)
treeef7dca20d95a015e0dcaa851b0311ebc18e32a12
parent32456e5ed736ee70e3da153bf95eacec3052fc9c (diff)
downloadvirt-manager-67ca0a9f34b710c92c9f5b16c763018577ec47e0.tar.gz
addhw: Refresh video model when relaunching dialog
Since values depend on VM config which can change between runs.
-rw-r--r--src/virtManager/addhardware.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/virtManager/addhardware.py b/src/virtManager/addhardware.py
index edabbaaa..4f35fd04 100644
--- a/src/virtManager/addhardware.py
+++ b/src/virtManager/addhardware.py
@@ -503,6 +503,9 @@ class vmmAddHardware(vmmGObjectUI):
self.widget("fs-target").set_text("")
self.widget("fs-readonly").set_active(False)
+ # Video params
+ uihelpers.populate_video_combo(self.vm, self.widget("video-model"))
+
# Hide all notebook pages, so the wizard isn't as big as the largest
# page
notebook = self.widget("create-pages")