fix for gtk gui
This commit is contained in:
parent
b93cde14e7
commit
5d1e229f05
|
@ -1107,7 +1107,8 @@ class ElectrumWindow:
|
||||||
if self.funds_error:
|
if self.funds_error:
|
||||||
text = "Not enough funds"
|
text = "Not enough funds"
|
||||||
elif self.network.is_connected():
|
elif self.network.is_connected():
|
||||||
host, port, _,_,_ = network.get_parameters()
|
host, port, _,_,_ = self.network.get_parameters()
|
||||||
|
port = int(port)
|
||||||
height = self.network.get_local_height()
|
height = self.network.get_local_height()
|
||||||
self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(host, port, height))
|
self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(host, port, height))
|
||||||
if not self.wallet.up_to_date:
|
if not self.wallet.up_to_date:
|
||||||
|
|
Loading…
Reference in New Issue