From 8ce6c2dfc9fe4c3e73b6f1177888f4468f2ab75b Mon Sep 17 00:00:00 2001 From: garak Date: Thu, 19 Jan 2023 15:11:42 -0500 Subject: [PATCH] accept single click action for editing encounter table --- src/ui/montabwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/montabwidget.cpp b/src/ui/montabwidget.cpp index f969bb19..28fd9d16 100644 --- a/src/ui/montabwidget.cpp +++ b/src/ui/montabwidget.cpp @@ -32,6 +32,7 @@ void MonTabWidget::populate() { int index = 0; for (EncounterField field : fields) { QTableView *table = new QTableView(this); + table->setEditTriggers(QAbstractItemView::AllEditTriggers); table->clearFocus(); addTab(table, field.name);