mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:50:05 +00:00
Don't process a file update for a previously selected radar site
This commit is contained in:
parent
336eb66321
commit
8bd6838438
1 changed files with 4 additions and 1 deletions
|
|
@ -1616,8 +1616,11 @@ void MapWidgetImpl::RadarProductManagerConnect()
|
|||
auto record = request->radar_product_record();
|
||||
|
||||
// Validate record, and verify current map context still
|
||||
// displays product
|
||||
// displays site and product
|
||||
if (record != nullptr &&
|
||||
radarProductManager_ != nullptr &&
|
||||
radarProductManager_->radar_id() ==
|
||||
request->current_radar_site() &&
|
||||
context_->radar_product_group() == group &&
|
||||
(group == common::RadarProductGroup::Level2 ||
|
||||
context_->radar_product() == product))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue