mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-14 01:13:38 -06:00
clone: Disable 'share' dropdown option if disk is not shareable.
This commit is contained in:
parent
f4de7cf6e7
commit
d19682f65f
@ -427,7 +427,8 @@ class vmmCloneVM(gobject.GObject):
|
||||
(size and " (%s)" % size or "")),
|
||||
can_clone, False])
|
||||
model.insert(STORAGE_COMBO_SHARE,
|
||||
[_("Share disk with %s") % orig_name, True, False])
|
||||
[_("Share disk with %s") % orig_name, can_share,
|
||||
False])
|
||||
model.insert(STORAGE_COMBO_SEP, ["", False, True])
|
||||
model.insert(STORAGE_COMBO_DETAILS,
|
||||
[_("Details..."), True, False])
|
||||
|
Loading…
Reference in New Issue
Block a user