Merge pull request #201 from garakmon/tabbing

allow TAB key to navigate through encounter table widget
This commit is contained in:
garak 2020-04-08 22:13:03 -04:00 committed by GitHub
commit 3a52c8680c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ void MonTabWidget::populate() {
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
table->setFocusPolicy(Qt::NoFocus);
table->setSelectionMode(QAbstractItemView::NoSelection);
table->setTabKeyNavigation(false);
table->clearFocus();
addTab(table, field.name);
}