DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView.

This commit is contained in:
Jordan Woyak
2020-02-06 20:34:27 -06:00
parent a0d204253b
commit b9f34bc822
12 changed files with 15 additions and 0 deletions

View File

@ -61,6 +61,7 @@ void NetPlayBrowser::CreateWidgets()
auto* layout = new QVBoxLayout;
m_table_widget = new QTableWidget;
m_table_widget->setTabKeyNavigation(false);
m_table_widget->setSelectionBehavior(QAbstractItemView::SelectRows);
m_table_widget->setSelectionMode(QAbstractItemView::SingleSelection);

View File

@ -231,6 +231,7 @@ void NetPlayDialog::CreatePlayersLayout()
m_kick_button = new QPushButton(tr("Kick Player"));
m_assign_ports_button = new QPushButton(tr("Assign Controller Ports"));
m_players_list->setTabKeyNavigation(false);
m_players_list->setColumnCount(5);
m_players_list->verticalHeader()->hide();
m_players_list->setSelectionBehavior(QAbstractItemView::SelectRows);