fix: Fixed account switch not being saved if no other settings were changed (#5558)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "controllers/accounts/AccountController.hpp"
|
||||
#include "providers/twitch/TwitchAccount.hpp"
|
||||
#include "providers/twitch/TwitchCommon.hpp"
|
||||
#include "singletons/Settings.hpp"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -54,6 +55,8 @@ AccountSwitchWidget::AccountSwitchWidget(QWidget *parent)
|
||||
{
|
||||
app->getAccounts()->twitch.currentUsername = newUsername;
|
||||
}
|
||||
|
||||
getSettings()->requestSave();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user