CellRendererInvoker: always reset the long-press controller
Follow up of: ad9b0e9866
This commit is contained in:
parent
ad9b0e9866
commit
811676ef4e
@ -1390,8 +1390,8 @@ class CellRendererInvoker(Invoker):
|
||||
|
||||
def __long_pressed_event_cb(self, controller, x, y, widget):
|
||||
if self.point_in_cell_renderer(x, y):
|
||||
controller.reset()
|
||||
self.notify_right_click()
|
||||
controller.reset()
|
||||
|
||||
def point_in_cell_renderer(self, event_x, event_y):
|
||||
pos = self._tree_view.get_path_at_pos(int(event_x), int(event_y))
|
||||
|
Loading…
Reference in New Issue
Block a user