diff --git a/deluge/ui/console/modes/input_popup.py b/deluge/ui/console/modes/input_popup.py index 45ea7e829..84278841b 100644 --- a/deluge/ui/console/modes/input_popup.py +++ b/deluge/ui/console/modes/input_popup.py @@ -718,7 +718,7 @@ class TextInput(InputField): try: uchar = stroke.decode(self.parent.encoding) except UnicodeDecodeError: - c = self.parent.stdscr.getch() + c = self.parent.parent.stdscr.getch() stroke += chr(c) if uchar: if self.cursor == len(self.value):