mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
create: Fix OS autodetect for URLs
This commit is contained in:
parent
8c479dbdd3
commit
8da021cf3a
@ -1130,8 +1130,7 @@ class vmmCreate(vmmGObjectUI):
|
|||||||
# If the url_entry has focus, don't fire detect_media_os, it means
|
# If the url_entry has focus, don't fire detect_media_os, it means
|
||||||
# the user is probably typing
|
# the user is probably typing
|
||||||
self.mediaDetected = False
|
self.mediaDetected = False
|
||||||
if (self.widget("install-url-box").get_child().flags() &
|
if self.widget("install-url-box").get_child().has_focus():
|
||||||
Gtk.HAS_FOCUS):
|
|
||||||
return
|
return
|
||||||
self.detect_media_os()
|
self.detect_media_os()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user