Commit a86cbe81 authored by Volker Krause's avatar Volker Krause
Browse files

Propagate product de-selection to the views too

This happens for example when deleting the current product.
parent 16868fc7
......@@ -211,8 +211,6 @@ void MainWindow::deleteProduct()
void MainWindow::productSelected()
{
const auto product = selectedProduct();
if (!product.isValid())
return;
ui->surveyEditor->setProduct(product);
ui->schemaEdit->setProduct(product);
ui->analyticsView->setProduct(product);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment