mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Adding STP to list of palettes
This commit is contained in:
parent
5e20ff9311
commit
41fda1e9cf
4 changed files with 21 additions and 18 deletions
|
|
@ -119,7 +119,7 @@ MainWindow::MainWindow(QWidget* parent) :
|
|||
ui->declutterCheckbox->setVisible(false);
|
||||
|
||||
p->SelectRadarProduct(p->activeMap_, common::Level2Product::Reflectivity);
|
||||
if (p->maps_.at(1) != nullptr)
|
||||
if (p->maps_.size() > 1 && p->maps_.at(1) != nullptr)
|
||||
{
|
||||
p->SelectRadarProduct(p->maps_.at(1), common::Level2Product::Velocity);
|
||||
}
|
||||
|
|
@ -466,7 +466,9 @@ void MainWindowImpl::UpdateRadarProductSelection(
|
|||
UpdateLevel2ProductSelection(common::GetLevel2Product(product));
|
||||
break;
|
||||
|
||||
default: UpdateLevel2ProductSelection(common::Level2Product::Unknown); break;
|
||||
default:
|
||||
UpdateLevel2ProductSelection(common::Level2Product::Unknown);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue