mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 10:18:51 +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
bc27c2cdf7
commit
dc9e2597da
@ -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…
x
Reference in New Issue
Block a user