mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
parent
0952c0f90c
commit
6d474cbe76
1 changed files with 6 additions and 0 deletions
|
|
@ -279,6 +279,12 @@ void OverlayProductView::Impl::Update(const std::string& product)
|
|||
std::tie(message, foundTime) =
|
||||
radarProductManager_->GetLevel3Data(product, requestedTime);
|
||||
|
||||
// If a different time was found than what was requested, update it
|
||||
if (requestedTime != foundTime)
|
||||
{
|
||||
selectedTime_ = foundTime;
|
||||
}
|
||||
|
||||
if (message == nullptr)
|
||||
{
|
||||
logger_->debug("{} data not found", product);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue