Mercurial > minori
comparison src/gui/pages/anime_list.cc @ 112:80f49f623d30
locale: allow switching locales without restarting
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 06 Nov 2023 13:41:30 -0500 |
| parents | 2004b41d4a59 |
| children | ab191e28e69d |
comparison
equal
deleted
inserted
replaced
| 111:fcae8bece0ec | 112:80f49f623d30 |
|---|---|
| 432 }); | 432 }); |
| 433 | 433 |
| 434 SetColumnDefaults(); | 434 SetColumnDefaults(); |
| 435 setFocusPolicy(Qt::TabFocus); | 435 setFocusPolicy(Qt::TabFocus); |
| 436 setFocusProxy(tab_bar); | 436 setFocusProxy(tab_bar); |
| 437 | |
| 438 Refresh(); | |
| 437 } | 439 } |
| 438 | 440 |
| 439 void AnimeListPage::RefreshList() { | 441 void AnimeListPage::RefreshList() { |
| 440 for (unsigned int i = 0; i < sort_models.size(); i++) | 442 for (unsigned int i = 0; i < sort_models.size(); i++) |
| 441 reinterpret_cast<AnimeListPageModel*>(sort_models[i]->sourceModel())->RefreshList(); | 443 reinterpret_cast<AnimeListPageModel*>(sort_models[i]->sourceModel())->RefreshList(); |
