File f7508d02-addhardware-Fix-setting-optimal-default-net-model.patch of Package virt-manager

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
openSUSE Build Service is sponsored by