summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-12-14 23:25:03 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-12-14 23:25:03 +0000
commit52817498cf58f4ad3f524e821ccf764c5ce1c7be (patch)
tree5d4a78deef65698a95d4149c8f8692aa778cdf3e
parentcc3f3495b64e78615a7276e8f9cb2dd617f1baef (diff)
downloaddeluge-52817498cf58f4ad3f524e821ccf764c5ce1c7be.tar.gz
deluge-52817498cf58f4ad3f524e821ccf764c5ce1c7be.tar.bz2
deluge-52817498cf58f4ad3f524e821ccf764c5ce1c7be.zip
Fix showing the remove torrent dialog twice if using the delete key and pressing cancel in the dialog
-rw-r--r--deluge/ui/gtkui/torrentview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py
index d0b125a05..b2b64fa7b 100644
--- a/deluge/ui/gtkui/torrentview.py
+++ b/deluge/ui/gtkui/torrentview.py
@@ -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",