Author: andar
Revision: 6077
Log:
Fix #1117 can't use the '3' key
Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog 2010-01-03 18:02:30 UTC (rev 6076)
+++ branches/1.2_RC/ChangeLog 2010-01-04 00:18:53 UTC (rev 6077)
@@ -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
Modified: branches/1.2_RC/deluge/ui/console/screen.py
===================================================================
--- branches/1.2_RC/deluge/ui/console/screen.py 2010-01-03 18:02:30 UTC (rev
6076)
+++ branches/1.2_RC/deluge/ui/console/screen.py 2010-01-04 00:18:53 UTC (rev
6077)
@@ -390,7 +390,7 @@
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:]
Modified: trunk/deluge/ui/console/screen.py
===================================================================
--- trunk/deluge/ui/console/screen.py 2010-01-03 18:02:30 UTC (rev 6076)
+++ trunk/deluge/ui/console/screen.py 2010-01-04 00:18:53 UTC (rev 6077)
@@ -391,7 +391,7 @@
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:]
--
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en.