details: Make sure 'remove' doesn't enter permenant insensitive state.

If we selected a PS2 mouse, the refresh function would disable the 'remove'
button. Since nothing else explictly enabled it, it would be stuck like that.
This commit is contained in:
Cole Robinson
2009-07-28 21:24:02 -04:00
parent d19682f65f
commit 010fec8600

View File

@@ -669,6 +669,7 @@ class vmmDetails(gobject.GObject):
pagetype = HW_LIST_TYPE_GENERAL
self.window.get_widget("hw-list").get_selection().select_path(0)
self.window.get_widget("config-remove").set_sensitive(True)
self.window.get_widget("hw-panel").set_sensitive(True)
self.window.get_widget("hw-panel").show_all()