mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-24 19:09:51 +00:00
Activate editing of nested table cells by a double click
Conflicts: apps/opencs/view/world/dialoguesubview.cpp
This commit is contained in:
parent
7a927eec79
commit
c0d714adb6
1 changed files with 3 additions and 2 deletions
|
@ -571,8 +571,9 @@ void CSVWorld::EditWidget::remake(int row)
|
|||
table->setStyleSheet("QTableView { color: gray; }");
|
||||
table->horizontalHeader()->setStyleSheet("QHeaderView { color: gray; }");
|
||||
}
|
||||
else
|
||||
table->setEditTriggers(QAbstractItemView::SelectedClicked | QAbstractItemView::CurrentChanged);
|
||||
// Uncomment below two lines to activate editing of nested table cells by a single click
|
||||
//else
|
||||
//table->setEditTriggers(QAbstractItemView::SelectedClicked | QAbstractItemView::CurrentChanged);
|
||||
table->resizeColumnsToContents();
|
||||
|
||||
int rows = mTable->rowCount(mTable->index(row, i));
|
||||
|
|
Loading…
Reference in a new issue