From 129865aea0fbd3b2e7f7233d8694cb5c474a75b6 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Wed, 30 Sep 2020 10:33:18 -0400 Subject: [PATCH] mediacombo: Clear text entry when New VM is launched We were leaving the ISO field populated with whatever the old value was. This is likely useful in some cases but it's consistent with how we handle fields in the rest of the wizard, and has some weird interaction with OS detection Fixes: #159 Signed-off-by: Cole Robinson --- virtManager/device/mediacombo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/virtManager/device/mediacombo.py b/virtManager/device/mediacombo.py index 7bccfba25..b28dbd81b 100644 --- a/virtManager/device/mediacombo.py +++ b/virtManager/device/mediacombo.py @@ -153,6 +153,7 @@ class vmmMediaCombo(vmmGObjectUI): if not self._rows_inited: self._init_rows() + self._entry.set_text("") model = self._combo.get_model() model.clear()