mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Fix for 0.0
This commit is contained in:
@@ -783,7 +783,7 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
||||
comboEncryption->setCurrentIndex(Preferences::getEncryptionSetting());
|
||||
// Ratio limit
|
||||
floatValue = Preferences::getMaxRatio();
|
||||
if(floatValue > 0.) {
|
||||
if(floatValue >= 0.) {
|
||||
// Enable
|
||||
checkMaxRatio->setChecked(true);
|
||||
spinMaxRatio->setEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user