Fix crash on room selection screen
This commit is contained in:
parent
eff5ab31ba
commit
33a4afa73e
2 changed files with 3 additions and 2 deletions
|
|
@ -3,9 +3,10 @@
|
|||
## Next version
|
||||
|
||||
- Add nick list
|
||||
- Clean up code
|
||||
- Fix crash on "Choose a room" screen
|
||||
- Fix fetching old logs
|
||||
- Rename project from "cheuph" to "bowl"
|
||||
- Clean up code
|
||||
|
||||
## 0.1.0 (2019-04-12)
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class ChooseRoomWidget(urwid.WidgetWrap):
|
|||
|
||||
def invalid_room_name(self, reason: str) -> None:
|
||||
text = AT(f"Invalid room name: {reason}\n",
|
||||
attributes=self._error_attrs)
|
||||
style=self._error_style)
|
||||
self.set_error(ATWidget(text, align=urwid.CENTER))
|
||||
|
||||
class SingleRoomApplication(urwid.WidgetWrap):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue