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

Reload data after importing

parent 66c12406
......@@ -204,7 +204,9 @@ void AnalyticsView::importData()
auto reply = RESTApi::addSamples(m_client, m_dataModel->product(), samples);
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
if (reply->error() == QNetworkReply::NoError)
if (reply->error() == QNetworkReply::NoError) {
emit logMessage(tr("Samples imported."));
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