From 01d78647c53783cc98baf61f9494d37ab3037067 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sun, 13 Dec 2009 17:17:56 -0500 Subject: [PATCH] details: Properly update disk names after device removal --- src/virtManager/details.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/virtManager/details.py b/src/virtManager/details.py index f9a6446e0..301ab9ea8 100644 --- a/src/virtManager/details.py +++ b/src/virtManager/details.py @@ -1804,8 +1804,10 @@ class vmmDetails(gobject.GObject): for row in hw_list_model: if (row[HW_LIST_COL_TYPE] == hwtype and row[HW_LIST_COL_DEVICE][2] == info[2]): + # Update existing HW info row[HW_LIST_COL_DEVICE] = info + row[HW_LIST_COL_LABEL] = name return if row[HW_LIST_COL_TYPE] <= hwtype: