#3538: Adding host in console-UI fails.
----------------------------+------------------------
 Reporter:  mhertz          |       Type:  bug
   Status:  new             |   Priority:  minor
Milestone:  needs verified  |  Component:  Console UI
  Version:  develop         |   Keywords:
----------------------------+------------------------
 As title, currently it's not possible to add new host in console-UI as
 states port need be integer.

 I added some debug-prints and found the 'result' dict indeed saves port as
 string, e.g. I tested it worked here just changing line 107 of
 connectionmanager.py from/to:
 {{{
                 result['port']['value'],
 }}}
 {{{
                 int(result['port']['value']),
 }}}
 Also, currently when having input new host data and pressed return then
 need also press escape to get out of connection-manager, which i just
 changed in same file line 135 from/to:
 {{{
             self.update_select_host_popup()
 }}}
 {{{
             self.pop_popup()
 }}}
 Thanks in advance.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3538>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to deluge-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/045.047a4341a2c213a47df74d860dc59457%40deluge-torrent.org.

Reply via email to