Jeck — Cache refresh functionality, forcing in situ reload of textures.

* Changing profiles will now reload graphics, in case the profile has a different theme/mode/whatever.
This commit is contained in:
wagic.jeck
2009-09-04 22:33:39 +00:00
parent 78b9d61baf
commit 62be1e1c72
3 changed files with 128 additions and 0 deletions
+1
View File
@@ -319,6 +319,7 @@ void OptionProfile::acceptSubmode()
options[Options::ACTIVE_PROFILE] = selections[value];
initialValue = value;
populate();
resources.Refresh(); //Update images, in case we've changed profiles, etc.
bCheck = false;
}