mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix showing the remove torrent dialog twice if using the delete key and pressing cancel in the dialog
This commit is contained in:
parent
cc3f3495b6
commit
52817498cf
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ class TorrentView(listview.ListView, component.Component):
|
|||
self.on_button_press_event)
|
||||
# Connect to the 'key-press-event' to know when the bring up the
|
||||
# torrent menu popup via keypress.
|
||||
self.treeview.connect("key-press-event", self.on_key_press_event)
|
||||
self.treeview.connect("key-release-event", self.on_key_press_event)
|
||||
# Connect to the 'changed' event of TreeViewSelection to get selection
|
||||
# changes.
|
||||
self.treeview.get_selection().connect("changed",
|
||||
|
|
Loading…
Add table
Reference in a new issue