mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-30 03:32:36 +00:00
Re-add mistakenly removed line and fix a silly typo.
(cherry picked from commit 77471d1592611fe08b65e6b34b7e656d78753944)
This commit is contained in:
parent
f08680ebcd
commit
0ec4af4210
@ -221,7 +221,7 @@ namespace CSMWorld
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
Private:
|
private:
|
||||||
bool mFixedRows;
|
bool mFixedRows;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -577,7 +577,9 @@ void CSVWorld::EditWidget::remake(int row)
|
|||||||
fixedRows = true;
|
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)
|
if (!editable)
|
||||||
{
|
{
|
||||||
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
table->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user