Mercurial > minori
comparison src/gui/pages/anime_list.cpp @ 73:f1fc8b04bc63
...: merge heads
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 03 Oct 2023 05:00:08 -0400 |
| parents | 27a19dd6cba1 |
| children | 3364fadc8a36 |
comparison
equal
deleted
inserted
replaced
| 72:893ad99b174d | 73:f1fc8b04bc63 |
|---|---|
| 473 connect(tab_bar, &QTabBar::currentChanged, this, [this](int index) { | 473 connect(tab_bar, &QTabBar::currentChanged, this, [this](int index) { |
| 474 if (sort_models[index]) | 474 if (sort_models[index]) |
| 475 tree_view->setModel(sort_models[index]); | 475 tree_view->setModel(sort_models[index]); |
| 476 }); | 476 }); |
| 477 | 477 |
| 478 SetColumnDefaults(); | |
| 478 setFocusPolicy(Qt::TabFocus); | 479 setFocusPolicy(Qt::TabFocus); |
| 479 setFocusProxy(tab_bar); | 480 setFocusProxy(tab_bar); |
| 480 } | 481 } |
| 481 | 482 |
| 482 void AnimeListPage::RefreshList() { | 483 void AnimeListPage::RefreshList() { |
