1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

added missing flagAsModified calls

This commit is contained in:
Marc Zinnschlag 2015-09-29 16:06:55 +02:00
parent f28fa9fc16
commit 2cb106f6ad
2 changed files with 3 additions and 0 deletions

View file

@ -319,6 +319,8 @@ void CSVRender::PagedWorldspaceWidget::clearSelection (int elementMask)
for (std::map<CSMWorld::CellCoordinates, Cell *>::iterator iter = mCells.begin(); for (std::map<CSMWorld::CellCoordinates, Cell *>::iterator iter = mCells.begin();
iter!=mCells.end(); ++iter) iter!=mCells.end(); ++iter)
iter->second->setSelection (elementMask, Cell::Selection_Clear); iter->second->setSelection (elementMask, Cell::Selection_Clear);
flagAsModified();
} }
CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibilitySelector ( CSVWidget::SceneToolToggle *CSVRender::PagedWorldspaceWidget::makeControlVisibilitySelector (

View file

@ -105,6 +105,7 @@ bool CSVRender::UnpagedWorldspaceWidget::handleDrop (const std::vector<CSMWorld:
void CSVRender::UnpagedWorldspaceWidget::clearSelection (int elementMask) void CSVRender::UnpagedWorldspaceWidget::clearSelection (int elementMask)
{ {
mCell->setSelection (elementMask, Cell::Selection_Clear); mCell->setSelection (elementMask, Cell::Selection_Clear);
flagAsModified();
} }
void CSVRender::UnpagedWorldspaceWidget::referenceableDataChanged (const QModelIndex& topLeft, void CSVRender::UnpagedWorldspaceWidget::referenceableDataChanged (const QModelIndex& topLeft,