mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-12 20:58:28 +03:00
Really fix typo in host.py
This commit is contained in:
parent
4f7540b2b0
commit
ba2ee7286b
@ -541,10 +541,11 @@ class vmmHost(gobject.GObject):
|
||||
sel = self.window.get_widget("pool-list").get_selection()
|
||||
model = self.window.get_widget("pool-list").get_model()
|
||||
active = sel.get_selected()
|
||||
if active[1] != None:
|
||||
curruuid = active[0].get_value(active[1], 0)
|
||||
if curruuid and curruuid != uuid:
|
||||
return
|
||||
if active[1] == None:
|
||||
return
|
||||
curruuid = active[0].get_value(active[1], 0)
|
||||
if curruuid != uuid:
|
||||
return
|
||||
self.pool_selected(sel)
|
||||
for row in model:
|
||||
if row[0] == curruuid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user