mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
preferences: Correct usbredir preference values
All of the gsettings values of the "prefs-add-spice-usbredir" combo box result in the preference being set to true, causing all new VMs to have USB redirection added. This commit corrects the value of the "No" row to correctly disable the setting when selected. Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
This commit is contained in:
parent
606069b1f4
commit
7acbdd9bf3
@ -141,7 +141,7 @@ class vmmPreferences(vmmGObjectUI):
|
||||
model = Gtk.ListStore(str, str)
|
||||
for row in [["system", _("System default (%s)") %
|
||||
self.config.default_add_spice_usbredir],
|
||||
["yes", "Yes"], ["Yes", "no"]]:
|
||||
["yes", "Yes"], ["no", "No"]]:
|
||||
model.append(row)
|
||||
combo.set_model(model)
|
||||
uiutil.set_combo_text_column(combo, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user