mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixes the remove button '''crash''' #1226
This commit is contained in:
parent
dd33e4e09e
commit
0c6760d0ca
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ AccountController::AccountController()
|
|||
this->twitch.accounts.itemRemoved.connect([this](const auto &args) {
|
||||
if (args.caller != this)
|
||||
{
|
||||
auto &accs = this->twitch.accounts;
|
||||
auto &accs = this->twitch.accounts.getVector();
|
||||
auto it = std::find(accs.begin(), accs.end(), args.item);
|
||||
assert(it != accs.end());
|
||||
|
||||
|
|
Loading…
Reference in a new issue