mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-03 13:47:18 +03:00
manager: Change the selection to the row we right click on
This commit is contained in:
parent
cd11862dfb
commit
d99358e60c
@ -1049,7 +1049,7 @@ class vmmManager(gobject.GObject):
|
||||
_iter = model.get_iter(path)
|
||||
|
||||
self.popup_vm_menu(model, _iter, event)
|
||||
return True
|
||||
return False
|
||||
|
||||
def popup_vm_menu(self, model, _iter, event):
|
||||
if model.iter_parent(_iter) != None:
|
||||
@ -1090,8 +1090,6 @@ class vmmManager(gobject.GObject):
|
||||
|
||||
self.connmenu.popup(None, None, None, 0, event.time)
|
||||
|
||||
return False
|
||||
|
||||
|
||||
#################
|
||||
# Stats methods #
|
||||
|
Loading…
x
Reference in New Issue
Block a user