fix servers label
authorThomasV <thomasv@gitorious>
Fri, 4 Oct 2013 17:08:09 +0000 (19:08 +0200)
committerThomasV <thomasv@gitorious>
Fri, 4 Oct 2013 17:08:09 +0000 (19:08 +0200)
gui/qt/network_dialog.py

index 95532d6..f2d2f26 100644 (file)
@@ -99,7 +99,7 @@ class NetworkDialog(QDialog):
 
         self.server_protocol.connect(self.server_protocol, SIGNAL('currentIndexChanged(int)'), self.change_protocol)
 
-        label = _('Active Servers') #if interface.servers else _('Default Servers')
+        label = _('Active Servers') if network.irc_servers else _('Default Servers')
         self.servers_list_widget = QTreeWidget(parent)
         self.servers_list_widget.setHeaderLabels( [ label, _('Limit') ] )
         self.servers_list_widget.setMaximumHeight(150)