1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Write settings on toggling 'Make Tox Portable'

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-08-31 22:44:52 +02:00
parent 73309d8b90
commit c5c3513ee9

View File

@ -248,6 +248,8 @@ void Settings::setMakeToxPortable(bool newValue)
{ {
makeToxPortable = newValue; makeToxPortable = newValue;
save(FILENAME); // Commit to the portable file that we don't want to use it save(FILENAME); // Commit to the portable file that we don't want to use it
if (!newValue) // Update the new file right now if not already done
save();
} }
bool Settings::getUseTranslations() const bool Settings::getUseTranslations() const