mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Small fix for proxy options
This commit is contained in:
parent
f4d5ceb3c4
commit
b3de2ccc72
1 changed files with 1 additions and 0 deletions
|
@ -454,6 +454,7 @@ void options_imp::loadOptions(){
|
||||||
spinUploadLimit->setEnabled(false);
|
spinUploadLimit->setEnabled(false);
|
||||||
}
|
}
|
||||||
intValue = settings.value(QString::fromUtf8("ProxyType"), 0).toInt();
|
intValue = settings.value(QString::fromUtf8("ProxyType"), 0).toInt();
|
||||||
|
if(intValue < 0) intValue = 0;
|
||||||
comboProxyType->setCurrentIndex(intValue);
|
comboProxyType->setCurrentIndex(intValue);
|
||||||
enableProxy(intValue);
|
enableProxy(intValue);
|
||||||
if(isProxyEnabled()) {
|
if(isProxyEnabled()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue