Primitivus: fixed xmlui/chat bad contents change

This commit is contained in:
Goffi 2013-03-10 20:54:45 +01:00
commit fc74cc35d0

View file

@ -185,7 +185,7 @@ class Chat(urwid.WidgetWrap, QuickChat):
def __appendGamePanel(self, widget):
assert (len(self.pile.contents) == 1)
self.pile.contents.insert(0,(widget,('weight', 1, False)))
self.pile.contents.insert(0,(widget,('weight', 1)))
self.pile.contents.insert(1,(urwid.Filler(urwid.Divider('-'),('fixed', 1))))
self.host.redraw()