mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Port spinbox is now disabled correctly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user