mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
gfxdetails: Default to configured graphics type, not always spice
So if the user chooses a different value from Preferences, or app is built with a different value, default to that in Add Hardware Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
eb6b79396b
commit
10515ea167
@ -187,7 +187,9 @@ class vmmGraphicsDetails(vmmGObjectUI):
|
|||||||
##############
|
##############
|
||||||
|
|
||||||
def reset_state(self):
|
def reset_state(self):
|
||||||
self.widget("graphics-type").set_active(0)
|
uiutil.set_list_selection(
|
||||||
|
self.widget("graphics-type"),
|
||||||
|
self.config.get_graphics_type())
|
||||||
self.widget("graphics-listen-type").set_active(0)
|
self.widget("graphics-listen-type").set_active(0)
|
||||||
self.widget("graphics-address").set_active(0)
|
self.widget("graphics-address").set_active(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user