mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
call populate_opt_media on reset_state
this way the physical media combo box isn't empty when we show the dialog for the first time
This commit is contained in:
parent
c30ac57000
commit
768e777a6b
@ -89,6 +89,8 @@ class vmmChooseCD(gobject.GObject):
|
||||
else:
|
||||
self.window.get_widget("physical-media").set_sensitive(True)
|
||||
self.window.get_widget("iso-file-chooser").set_sensitive(True)
|
||||
self.populate_opt_media()
|
||||
self.window.get_widget("cd-path").set_active(0)
|
||||
|
||||
def ok(self,ignore1=None, ignore2=None):
|
||||
if self.window.get_widget("iso-image").get_active():
|
||||
|
Loading…
Reference in New Issue
Block a user