mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
createvol: Fix showing backing store UI on first run (bz 1670266)
Whether we check for a vol-format value shouldn't be dependent on whether the UI is on screen (is_visible), but whether the UI is requested to be shown (get_visible) https://bugzilla.redhat.com/show_bug.cgi?id=1670266
This commit is contained in:
parent
39bb8968d0
commit
4b5cfe3cbb
@ -189,7 +189,7 @@ class vmmCreateVolume(vmmGObjectUI):
|
||||
self.parent_pool.get_pretty_available())
|
||||
|
||||
def get_config_format(self):
|
||||
if not self.widget("vol-format").is_visible():
|
||||
if not self.widget("vol-format").get_visible():
|
||||
return None
|
||||
return uiutil.get_list_selection(self.widget("vol-format"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user