Browse Source

Port spinbox is now disabled correctly.

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
a261ab14ee
  1. 1
      src/preferences/options_imp.cpp

1
src/preferences/options_imp.cpp

@ -628,6 +628,7 @@ void options_imp::loadOptions() { @@ -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

Loading…
Cancel
Save