Merge pull request #201 from garakmon/tabbing
allow TAB key to navigate through encounter table widget
This commit is contained in:
commit
3a52c8680c
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ void MonTabWidget::populate() {
|
||||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
table->setFocusPolicy(Qt::NoFocus);
|
table->setFocusPolicy(Qt::NoFocus);
|
||||||
table->setSelectionMode(QAbstractItemView::NoSelection);
|
table->setSelectionMode(QAbstractItemView::NoSelection);
|
||||||
|
table->setTabKeyNavigation(false);
|
||||||
table->clearFocus();
|
table->clearFocus();
|
||||||
addTab(table, field.name);
|
addTab(table, field.name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue