Commit 392e7e3e authored by Floréal Cabanettes's avatar Floréal Cabanettes

Notify of update categories

parent 12f13cb7
......@@ -1670,6 +1670,8 @@ void QRecipeWriter::received_categories(HttpRequestWorker *worker) {
}
Functions::write_categories_file(categories_loaded);
this->resetCats();
ui->state->setText(tr("Catégories mises à jour !"));
QTimer::singleShot(4000, this, SLOT(refreshState()));
}
else {
qDebug() << worker->response;
......
Markdown is supported
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