Fixed wrong (inverted) abort condition

Ansariel 2013-03-09 01:29:46 +01:00
parent 78b67aee0b
commit 46336cac5a
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ std::string FloaterQuickPrefs::stepComboBox(LLComboBox* ctrl, bool forward)
ctrl->setCurrentByIndex(curid);
preset_name = ctrl->getSelectedValue().asString();
}
while (!isValidPresetName(preset_name) || preset_name == start_preset_name);
while (!isValidPresetName(preset_name) && preset_name != start_preset_name);
return preset_name;
}