mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	Fix some sub-tables becoming uneditable since commit 80869d
This commit is contained in:
		
							parent
							
								
									819fecd08e
								
							
						
					
					
						commit
						4af469511d
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -596,16 +596,16 @@ namespace CSMWorld | ||||||
|             return record.get().mAiData.mAlarm; |             return record.get().mAiData.mAlarm; | ||||||
| 
 | 
 | ||||||
|         if (column==mActors.mInventory) |         if (column==mActors.mInventory) | ||||||
|             return true; // to show nested tables in dialogue subview, see IdTree::hasChildren()
 |             return QVariant::fromValue(ColumnBase::TableEdit_Full); | ||||||
| 
 | 
 | ||||||
|         if (column==mActors.mSpells) |         if (column==mActors.mSpells) | ||||||
|             return true; // to show nested tables in dialogue subview, see IdTree::hasChildren()
 |             return QVariant::fromValue(ColumnBase::TableEdit_Full); | ||||||
| 
 | 
 | ||||||
|         if (column==mActors.mDestinations) |         if (column==mActors.mDestinations) | ||||||
|             return true; // to show nested tables in dialogue subview, see IdTree::hasChildren()
 |             return QVariant::fromValue(ColumnBase::TableEdit_Full); | ||||||
| 
 | 
 | ||||||
|         if (column==mActors.mAiPackages) |         if (column==mActors.mAiPackages) | ||||||
|             return true; // to show nested tables in dialogue subview, see IdTree::hasChildren()
 |             return QVariant::fromValue(ColumnBase::TableEdit_Full); | ||||||
| 
 | 
 | ||||||
|         std::map<const RefIdColumn *, unsigned int>::const_iterator iter = |         std::map<const RefIdColumn *, unsigned int>::const_iterator iter = | ||||||
|             mActors.mServices.find (column); |             mActors.mServices.find (column); | ||||||
|  | @ -2080,7 +2080,7 @@ namespace CSMWorld | ||||||
|         int index) const |         int index) const | ||||||
|     { |     { | ||||||
|         if (column==mLevList.mLevList || column == mLevList.mNestedListLevList) |         if (column==mLevList.mLevList || column == mLevList.mNestedListLevList) | ||||||
|             return true; // to show nested tables in dialogue subview, see IdTree::hasChildren()
 |             return QVariant::fromValue(ColumnBase::TableEdit_Full); | ||||||
| 
 | 
 | ||||||
|         return BaseRefIdAdapter<RecordT>::getData (column, data, index); |         return BaseRefIdAdapter<RecordT>::getData (column, data, index); | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue