1
0
Fork 1
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:
cc9cii 2015-10-28 20:52:07 +11:00
parent f08680ebcd
commit 0ec4af4210
2 changed files with 4 additions and 2 deletions

View file

@ -221,7 +221,7 @@ namespace CSMWorld
return true;
}
Private:
private:
bool mFixedRows;
};

View file

@ -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);