mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-12 09:18:00 +03: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
|
||||
# the user is probably typing
|
||||
self.mediaDetected = False
|
||||
if (self.widget("install-url-box").get_child().flags() &
|
||||
Gtk.HAS_FOCUS):
|
||||
if self.widget("install-url-box").get_child().has_focus():
|
||||
return
|
||||
self.detect_media_os()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user