mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix crash in countries list refresh.
This commit is contained in:
parent
c208b5dc58
commit
1cf207671e
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ const std::vector<Info> &CountriesInstance::list() {
|
|||
|
||||
void CountriesInstance::setList(std::vector<Info> &&infos) {
|
||||
_list = std::move(infos);
|
||||
_byCode.clear();
|
||||
_byISO2.clear();
|
||||
}
|
||||
|
||||
const CountriesInstance::Map &CountriesInstance::byCode() {
|
||||
|
|
Loading…
Add table
Reference in a new issue