mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
DolphinQt: setTabKeyNavigation(false) on QTableWidget and QTableView.
This commit is contained in:
parent
a0d204253b
commit
b9f34bc822
12 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue