mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:40:05 +00:00 
			
		
		
		
	Look up product code when selecting radar product
This commit is contained in:
		
							parent
							
								
									2452fff6f7
								
							
						
					
					
						commit
						6cec68d968
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -294,6 +294,11 @@ void MapWidget::SelectRadarProduct(common::RadarProductGroup group, | ||||||
|       p->selectedLevel2Product_ = level2Product; |       p->selectedLevel2Product_ = level2Product; | ||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|  |    if (group == common::RadarProductGroup::Level3 && productCode == 0) | ||||||
|  |    { | ||||||
|  |       productCode = common::GetLevel3ProductCodeByAwipsId(productName); | ||||||
|  |    } | ||||||
|  | 
 | ||||||
|    if (radarProductView == nullptr || |    if (radarProductView == nullptr || | ||||||
|        radarProductView->GetRadarProductGroup() != group || |        radarProductView->GetRadarProductGroup() != group || | ||||||
|        radarProductView->GetRadarProductName() != productName || |        radarProductView->GetRadarProductName() != productName || | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat