mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Change flag for base land textures
This commit is contained in:
parent
054e6a780e
commit
3981f79d38
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ Qt::ItemFlags CSMWorld::LandTextureIdTable::flags(const QModelIndex& index) cons
|
||||||
Qt::ItemFlags flags = IdTable::flags(index);
|
Qt::ItemFlags flags = IdTable::flags(index);
|
||||||
|
|
||||||
if (!idCollection()->getRecord(index.row()).isModified())
|
if (!idCollection()->getRecord(index.row()).isModified())
|
||||||
flags &= ~Qt::ItemIsEditable;
|
flags &= ~Qt::ItemIsEnabled;
|
||||||
|
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue