mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:30:05 +00:00
Auto update should be re-enabled when switching radar sites
- Otherwise, the new site may not display any data
This commit is contained in:
parent
9bb4ba4d93
commit
4e5a28fcab
1 changed files with 3 additions and 0 deletions
|
|
@ -1053,6 +1053,9 @@ void MapWidgetImpl::SetRadarSite(const std::string& radarSite)
|
||||||
// Set new RadarProductManager
|
// Set new RadarProductManager
|
||||||
radarProductManager_ = manager::RadarProductManager::Instance(radarSite);
|
radarProductManager_ = manager::RadarProductManager::Instance(radarSite);
|
||||||
|
|
||||||
|
// Re-enable auto-update
|
||||||
|
autoUpdateEnabled_ = true;
|
||||||
|
|
||||||
// Connect signals to new RadarProductManager
|
// Connect signals to new RadarProductManager
|
||||||
RadarProductManagerConnect();
|
RadarProductManagerConnect();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue