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:
parent
73309d8b90
commit
c5c3513ee9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user