Commits

Scott Lawrence committed 4a1a1e8 Merge

merge changes for storm-1483

Comments (0)

Files changed (1)

indra/newview/llfloaterdeleteenvpreset.cpp

 void LLFloaterDeleteEnvPreset::postPopulate()
 {
 	// Handle empty list and empty selection.
-	bool has_selection = mPresetCombo->getItemCount() > 1 && mPresetCombo->getSelectedValue().isDefined();
+	bool has_selection = mPresetCombo->getItemCount() > 0 && mPresetCombo->getSelectedValue().isDefined();
 
 	if (!has_selection)
 	{