From 4ff5cc2b1f3889ba631f523d14ec2bab1092bfb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 24 Nov 2012 13:34:44 +0100
Subject: Fixed bug in connection settings dialog.

Host and proxy port in manual tab were not initialized correctly.

Change-Id: Ie2bc059afae59541a12ea905d443fa541217ec19
Resolves: #1179

diff --git a/Swift/QtUI/QtConnectionSettingsWindow.cpp b/Swift/QtUI/QtConnectionSettingsWindow.cpp
index 040b92a..ea693cf 100644
--- a/Swift/QtUI/QtConnectionSettingsWindow.cpp
+++ b/Swift/QtUI/QtConnectionSettingsWindow.cpp
@@ -78,7 +78,7 @@ QtConnectionSettingsWindow::QtConnectionSettingsWindow(const ClientOptions& opti
 			if (!options.manualProxyHostname.empty()) {
 				ui.manual_manualProxy->setChecked(true);
 				ui.manual_manualProxyHost->setText(P2QSTRING(options.manualProxyHostname));
-				ui.manual_manualHostPort->setText(P2QSTRING(boost::lexical_cast<std::string>(options.manualProxyPort)));
+				ui.manual_manualProxyPort->setText(P2QSTRING(boost::lexical_cast<std::string>(options.manualProxyPort)));
 			}
 		}
 	} else {
-- 
cgit v0.10.2-6-g49f6