diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index d63ee1b3673b3b09760d331ae2da49858e7090e8..92c9d1ae592f87ac51793d9f2ba17ef030397119 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -2600,6 +2600,10 @@ void LLPanelPreferenceGraphics::onPresetsListChange()
 	{
 		instance->saveSettings(); //make cancel work correctly after changing the preset
 	}
+	else
+	{
+		instance->saveGraphicsPreset(std::string());
+	}
 }
 
 void LLPanelPreferenceGraphics::setPresetText()