X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=inline;f=radiant%2Fpreferencedictionary.h;h=45757d01b4db390750fba955c13186d15a1a0887;hb=03c2a5a99fbab9e208789ec1e8872b112c2a1caa;hp=35a281ad42fc8a7a386a613ad94b1c2b0527928a;hpb=469e4fc146a97cdb20cdc02fc3bc2bae59fac8ba;p=xonotic%2Fnetradiant.git diff --git a/radiant/preferencedictionary.h b/radiant/preferencedictionary.h index 35a281ad..45757d01 100644 --- a/radiant/preferencedictionary.h +++ b/radiant/preferencedictionary.h @@ -92,6 +92,7 @@ public: } else { + m_cache.erase(name); m_cache.insert(PreferenceCache::value_type(name, value)); } }