virt-manager/f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch

20 lines
670 B
Diff
Raw Normal View History

Subject: addhardware: Fix setting optimal default net model
From: Cole Robinson crobinso@redhat.com Sun Feb 3 19:47:20 2019 -0500
Date: Sun Feb 3 19:47:54 2019 -0500:
Git: f7508d024d58e54f9da5e7c51f5b805db929b76f
We were unconditionally reseting it to the first list entry
diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
index eaab8275..69161782 100644
--- a/virtManager/addhardware.py
+++ b/virtManager/addhardware.py
@@ -327,7 +327,6 @@ class vmmAddHardware(vmmGObjectUI):
netmodel = self.widget("net-model")
self.populate_network_model_combo(self.vm, netmodel)
- netmodel.set_active(0)
# Char parameters