mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-30 13:16:17 +00:00
Made connection manager handle resizing
This commit is contained in:
parent
6888c6ef60
commit
265f9f295e
@ -186,6 +186,14 @@ class ConnectionManager(BaseMode):
|
||||
self.popup.refresh()
|
||||
curses.doupdate()
|
||||
|
||||
def on_resize(self, *args):
|
||||
BaseMode.on_resize_norefresh(self, *args)
|
||||
|
||||
if self.popup:
|
||||
self.popup.handle_resize()
|
||||
|
||||
self.stdscr.erase()
|
||||
self.refresh()
|
||||
|
||||
def _doRead(self):
|
||||
# Read the character
|
||||
|
Loading…
x
Reference in New Issue
Block a user