mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	Metadata fields are now hidden for placeholders.
This commit is contained in:
		
							parent
							
								
									0955b1cf1b
								
							
						
					
					
						commit
						0e59654399
					
				|  | @ -257,6 +257,12 @@ void DetailedGameListView::updateInfoPanel() | |||
|             hideMetaDataFields = true; | ||||
|         else | ||||
|             hideMetaDataFields = (file->metadata.get("hidemetadata") == "true"); | ||||
| 
 | ||||
|         // Always hide the metadata fields for placeholders as well.
 | ||||
|         if (file->getType() == PLACEHOLDER) { | ||||
|             hideMetaDataFields = true; | ||||
|             mLastUpdated = nullptr; | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     // If we're scrolling, hide the metadata fields if the last game had this options set,
 | ||||
|  |  | |||
|  | @ -282,6 +282,12 @@ void VideoGameListView::updateInfoPanel() | |||
|             hideMetaDataFields = true; | ||||
|         else | ||||
|             hideMetaDataFields = (file->metadata.get("hidemetadata") == "true"); | ||||
| 
 | ||||
|         // Always hide the metadata fields for placeholders as well.
 | ||||
|         if (file->getType() == PLACEHOLDER) { | ||||
|             hideMetaDataFields = true; | ||||
|             mLastUpdated = nullptr; | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     // If we're scrolling, hide the metadata fields if the last game had this options set,
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Leon Styhre
						Leon Styhre