accept single click action for editing encounter table
This commit is contained in:
parent
73d0cb8933
commit
8ce6c2dfc9
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ void MonTabWidget::populate() {
|
||||||
int index = 0;
|
int index = 0;
|
||||||
for (EncounterField field : fields) {
|
for (EncounterField field : fields) {
|
||||||
QTableView *table = new QTableView(this);
|
QTableView *table = new QTableView(this);
|
||||||
|
table->setEditTriggers(QAbstractItemView::AllEditTriggers);
|
||||||
table->clearFocus();
|
table->clearFocus();
|
||||||
addTab(table, field.name);
|
addTab(table, field.name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue