mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Small fix for proxy options
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user