mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-03 22:55:01 -04:00
Fixed propagation node autoselection not working when None value was set in settings dict
This commit is contained in:
parent
c1cbc56459
commit
a8d337a94e
2 changed files with 5 additions and 8 deletions
|
@ -704,7 +704,7 @@ class KnownNodes(urwid.WidgetWrap):
|
|||
else:
|
||||
self.no_content = True
|
||||
widget_style = "inactive_text"
|
||||
self.pile = urwid.Pile([urwid.Text(("warning_text", g["info"]+"\n"), align="center"), SelectText(("warning_text", "Currently, no nodes are known\n\n"), align="center")])
|
||||
self.pile = urwid.Pile([urwid.Text(("warning_text", g["info"]+"\n"), align="center"), SelectText(("warning_text", "Currently, no nodes are saved\n\nCtrl+L to view the announce stream\n\n"), align="center")])
|
||||
self.display_widget = urwid.Filler(self.pile, valign="top", height="pack")
|
||||
|
||||
urwid.WidgetWrap.__init__(self, urwid.AttrMap(urwid.LineBox(self.display_widget, title="Saved Nodes"), widget_style))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue