mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Port spinbox is now disabled correctly.
This commit is contained in:
parent
be5a1ae272
commit
a261ab14ee
@ -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…
x
Reference in New Issue
Block a user