comparison src/gui/pages/anime_list.cpp @ 69:27a19dd6cba1

*: fix up some stuff settings: due to my own incompetence OnOK caused the entire program to crash, now that's fixed :)
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 03:38:25 -0400
parents 2417121d894e
children 3364fadc8a36
comparison
equal deleted inserted replaced
68:2417121d894e 69:27a19dd6cba1
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() {