mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 16:19:56 +00:00
Re-add mistakenly removed line and fix a silly typo.
(cherry picked from commit 77471d1592
)
This commit is contained in:
parent
f08680ebcd
commit
0ec4af4210
2 changed files with 4 additions and 2 deletions
|
@ -221,7 +221,7 @@ namespace CSMWorld
|
|||
return true;
|
||||
}
|
||||
|
||||
Private:
|
||||
private:
|
||||
bool mFixedRows;
|
||||
};
|
||||
|
||||
|
|
|
@ -577,7 +577,9 @@ void CSVWorld::EditWidget::remake(int row)
|
|||
fixedRows = true;
|
||||
}
|
||||
|
||||
NestedTable* table = new NestedTable(mDocument, id, mNestedModels.back(), this, editable, fixedRows);
|
||||
NestedTable* table =
|
||||
new NestedTable(mDocument, id, mNestedModels.back(), this, editable, fixedRows);
|
||||
table->resizeColumnsToContents();
|
||||
if (!editable)
|
||||
{
|
||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
|
|
Loading…
Reference in a new issue