mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix for 0.0
This commit is contained in:
parent
6223514704
commit
f242fce5fd
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
||||||
comboEncryption->setCurrentIndex(Preferences::getEncryptionSetting());
|
comboEncryption->setCurrentIndex(Preferences::getEncryptionSetting());
|
||||||
// Ratio limit
|
// Ratio limit
|
||||||
floatValue = Preferences::getMaxRatio();
|
floatValue = Preferences::getMaxRatio();
|
||||||
if(floatValue > 0.) {
|
if(floatValue >= 0.) {
|
||||||
// Enable
|
// Enable
|
||||||
checkMaxRatio->setChecked(true);
|
checkMaxRatio->setChecked(true);
|
||||||
spinMaxRatio->setEnabled(true);
|
spinMaxRatio->setEnabled(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue