From 0c6760d0ca6dd7abc58664d9ad3079d371d36a36 Mon Sep 17 00:00:00 2001 From: apa420 Date: Thu, 22 Aug 2019 16:07:54 +0000 Subject: [PATCH] Fixes the remove button '''crash''' #1226 --- src/controllers/accounts/AccountController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/accounts/AccountController.cpp b/src/controllers/accounts/AccountController.cpp index 0d2695b5d..d44e1d466 100644 --- a/src/controllers/accounts/AccountController.cpp +++ b/src/controllers/accounts/AccountController.cpp @@ -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());