mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +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
@ -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…
x
Reference in New Issue
Block a user