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