[tor-commits] [vidalia/alpha] Explicitly save location, otherwise it won't display in the RouterInfoDialog

chiiph at torproject.org chiiph at torproject.org
Mon Mar 5 13:01:51 UTC 2012


commit 8f9179be72a13ad1aa2a7d9c17a6c4e5a67e64a6
Author: Tomás Touceda <chiiph at torproject.org>
Date:   Mon Feb 13 12:52:48 2012 -0300

    Explicitly save location, otherwise it won't display in the RouterInfoDialog
---
 src/vidalia/network/RouterListItem.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/vidalia/network/RouterListItem.cpp b/src/vidalia/network/RouterListItem.cpp
index db558bf..c2a8c85 100644
--- a/src/vidalia/network/RouterListItem.cpp
+++ b/src/vidalia/network/RouterListItem.cpp
@@ -102,6 +102,8 @@ RouterListItem::setLocation(const GeoIpRecord &geoip)
 
   if (_rd)
     _rd->setLocation(geoip.toString());
+
+  _location = geoip;
   _countryCode = geoip.countryCode();
 }
 





More information about the tor-commits mailing list