summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2010-01-04 00:18:53 +0000
committerAndrew Resch <andrewresch@gmail.com>2010-01-04 00:18:53 +0000
commit3870c25c9de1256f5735864cce1316491f9702b4 (patch)
tree081cc3f20909c4b8ffd4f43b2d19e3fc15dc81f6
parent4cde35a067d8aa006971b9444a0360e6139f42d6 (diff)
downloaddeluge-3870c25c9de1256f5735864cce1316491f9702b4.tar.gz
deluge-3870c25c9de1256f5735864cce1316491f9702b4.tar.bz2
deluge-3870c25c9de1256f5735864cce1316491f9702b4.zip
Fix #1117 can't use the '3' key
-rw-r--r--ChangeLog1
-rw-r--r--deluge/ui/console/screen.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b7375b209..8837ca3e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@
==== Console ====
* Fix #1115 not showing usage for the 'debug' command
* Fix #1116 not being able to use command aliases when not connected to a daemon
+ * Fix #1117 can't use the '3' key
==== Windows ====
* Fix displaying folders in the add torrent dialog
diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py
index c978ec841..d5fc2caf9 100644
--- a/deluge/ui/console/screen.py
+++ b/deluge/ui/console/screen.py
@@ -390,7 +390,7 @@ class Screen(CursesStdIO):
self.input = self.input[:self.input_cursor - 1] + self.input[self.input_cursor:]
self.input_cursor -= 1
- elif c == curses.KEY_DC or c == 51:
+ elif c == curses.KEY_DC:
if self.input and self.input_cursor < len(self.input):
self.input = self.input[:self.input_cursor] + self.input[self.input_cursor + 1:]