mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:50:06 +00:00 
			
		
		
		
	Fix level 2 selection on radar site change from modify_tilt_selection
This commit is contained in:
		
							parent
							
								
									24f5f0a3e3
								
							
						
					
					
						commit
						ceb1ca8416
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		|  | @ -2095,15 +2095,20 @@ void MapWidgetImpl::CheckLevel3Availability() | |||
|    } | ||||
|    productAvailabilityCheckNeeded_ = false; | ||||
| 
 | ||||
|    // Get radar product view for fallback and level2 selection
 | ||||
|    auto radarProductView = context_->radar_product_view(); | ||||
| 
 | ||||
|    // Only do this for level3 products
 | ||||
|    if (widget_->GetRadarProductGroup() != common::RadarProductGroup::Level3) | ||||
|    { | ||||
|       widget_->SelectRadarProduct(radarProductView->GetRadarProductGroup(), | ||||
|                                   radarProductView->GetRadarProductName(), | ||||
|                                   0, | ||||
|                                   radarProductView->selected_time(), | ||||
|                                   false); | ||||
|       return; | ||||
|    } | ||||
| 
 | ||||
|    // Get radar product view for fallback selection
 | ||||
|    auto radarProductView = context_->radar_product_view(); | ||||
| 
 | ||||
|    const common::Level3ProductCategoryMap& categoryMap = | ||||
|       widget_->GetAvailableLevel3Categories(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak