fix right click on file tab not selecting the row
This commit is contained in:
parent
b57b07b783
commit
2c746a3ee9
|
@ -121,8 +121,9 @@ class FilesBaseManager(object):
|
||||||
|
|
||||||
def mouse_clicked(self, widget, event):
|
def mouse_clicked(self, widget, event):
|
||||||
if event.button == 3:
|
if event.button == 3:
|
||||||
|
self.file_view.get_selection().get_selected_rows()[1]
|
||||||
self.file_menu.popup(None, None, None, event.button, event.time)
|
self.file_menu.popup(None, None, None, event.button, event.time)
|
||||||
return True
|
return False
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue