Browse Source

Fix for 0.0

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
f242fce5fd
  1. 2
      src/options_imp.cpp

2
src/options_imp.cpp

@ -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…
Cancel
Save