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:
parent
49d6239004
commit
0a8b7602d3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user