1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

fixed edit lock

This commit is contained in:
Marc Zinnschlag 2012-12-03 21:51:42 +01:00
parent 49d6239004
commit 0a8b7602d3

View File

@ -169,7 +169,7 @@ void CSVDoc::View::updateDocumentState()
QList<CSVWorld::SubView *> subViews = findChildren<CSVWorld::SubView *>();
for (QList<CSVWorld::SubView *>::iterator iter (subViews.begin()); iter!=subViews.end(); ++iter)
(*iter)->setEditLock (state && CSMDoc::Document::State_Locked);
(*iter)->setEditLock (state & CSMDoc::Document::State_Locked);
}
void CSVDoc::View::updateProgress (int current, int max, int type, int threads)