mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user