primitivus: removed deprecated use of set_focus
This commit is contained in:
parent
3be53bdc69
commit
7feab1c6d9
1 changed files with 5 additions and 5 deletions
|
|
@ -323,7 +323,7 @@ class Chat(urwid.WidgetWrap, QuickChat):
|
|||
if self.text_list.get_focus()[1] == len(self.content) - 2:
|
||||
#we don't change focus if user is not at the bottom
|
||||
#as that mean that he is probably watching discussion history
|
||||
self.text_list.set_focus(len(self.content) - 1)
|
||||
self.text_list.focus_position = len(self.content) - 1
|
||||
self.host.redraw()
|
||||
if not self.host.x_notify.hasFocus():
|
||||
if self.type == "one2one":
|
||||
|
|
|
|||
Loading…
Reference in a new issue