From a261ab14ee1519251ec0b87d05c458d5a81f56bd Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 30 Jun 2013 15:51:15 +0300 Subject: [PATCH] Port spinbox is now disabled correctly. --- src/preferences/options_imp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/preferences/options_imp.cpp b/src/preferences/options_imp.cpp index 0ed7be0d6..4e9049439 100755 --- a/src/preferences/options_imp.cpp +++ b/src/preferences/options_imp.cpp @@ -628,6 +628,7 @@ void options_imp::loadOptions() { spinPort->setValue(pref.getSessionPort()); checkUPnP->setChecked(pref.isUPnPEnabled()); checkRandomPort->setChecked(pref.useRandomPort()); + spinPort->setDisabled(checkRandomPort->isChecked()); intValue = pref.getGlobalDownloadLimit(); if (intValue > 0) { // Enabled