Browse Source

fix(profile): write .tox file immediately on creation

Fixes issue where .tox file of a new profile wasn't written until
connection was established.
reviewable/pr5729/r25
jenli669 6 years ago
parent
commit
49c8f9b9b5
No known key found for this signature in database
GPG Key ID: 8267F9F7C2BF7E5E
  1. 1
      src/persistence/profile.cpp

1
src/persistence/profile.cpp

@ -264,6 +264,7 @@ void Profile::initCore(const QByteArray& toxsave, const ICoreSettings& s, bool i @@ -264,6 +264,7 @@ void Profile::initCore(const QByteArray& toxsave, const ICoreSettings& s, bool i
if (isNewProfile) {
core->setStatusMessage(tr("Toxing on qTox"));
core->setUsername(name);
onSaveToxSave();
}
// save tox file when Core requests it

Loading…
Cancel
Save