mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:50:05 +00:00
Fix switching radar sites in archive view
- Reverts 4e5a28f, other changes have now made this unnecessary
- Switching sites while animating, in archive, or live all work properly
This commit is contained in:
parent
55d9fe1da8
commit
bce4c1bfb2
1 changed files with 2 additions and 4 deletions
|
|
@ -486,7 +486,8 @@ void MapWidget::SelectRadarSite(std::shared_ptr<config::RadarSite> radarSite,
|
|||
radarProductView->set_radar_product_manager(p->radarProductManager_);
|
||||
SelectRadarProduct(radarProductView->GetRadarProductGroup(),
|
||||
radarProductView->GetRadarProductName(),
|
||||
0);
|
||||
0,
|
||||
radarProductView->selected_time());
|
||||
}
|
||||
|
||||
AddLayers();
|
||||
|
|
@ -1053,9 +1054,6 @@ void MapWidgetImpl::SetRadarSite(const std::string& radarSite)
|
|||
// Set new RadarProductManager
|
||||
radarProductManager_ = manager::RadarProductManager::Instance(radarSite);
|
||||
|
||||
// Re-enable auto-update
|
||||
autoUpdateEnabled_ = true;
|
||||
|
||||
// Connect signals to new RadarProductManager
|
||||
RadarProductManagerConnect();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue