mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Port spinbox is now disabled correctly.
This commit is contained in:
parent
be5a1ae272
commit
a261ab14ee
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue