commit 5d1e229f05b66964f802e53cdc772a645e2c7e05
parent b93cde14e7d002f59cde7845892f6aed2c8fa7ab
Author: ThomasV <thomasv@gitorious>
Date: Fri, 1 Aug 2014 17:23:24 +0200
fix for gtk gui
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/gtk.py b/gui/gtk.py
@@ -1107,7 +1107,8 @@ class ElectrumWindow:
if self.funds_error:
text = "Not enough funds"
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()
self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(host, port, height))
if not self.wallet.up_to_date: