mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-06-23 05:34:13 -04:00
Fixed browser view on non node hosting instances.
This commit is contained in:
parent
0c94dfa482
commit
953c8c94c7
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Browser:
|
||||||
self.display_widget.set_attr_map({None: "body_text"})
|
self.display_widget.set_attr_map({None: "body_text"})
|
||||||
self.browser_header = self.make_control_widget()
|
self.browser_header = self.make_control_widget()
|
||||||
remote_display_string = self.app.directory.simplest_display_str(self.destination_hash)
|
remote_display_string = self.app.directory.simplest_display_str(self.destination_hash)
|
||||||
if remote_display_string == RNS.prettyhexrep(self.loopback):
|
if self.loopback != None and remote_display_string == RNS.prettyhexrep(self.loopback):
|
||||||
remote_display_string = self.app.node.name
|
remote_display_string = self.app.node.name
|
||||||
|
|
||||||
self.linebox.set_title(remote_display_string)
|
self.linebox.set_title(remote_display_string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue