--- a/src/RecipesTree.cpp Mon Mar 28 16:54:08 2022 +0200 +++ b/src/RecipesTree.cpp Wed Mar 30 15:31:57 2022 +0200 @@ -16,6 +16,7 @@ */ #include "RecipesTree.h" #include "MainWindow.h" +#include "EditRecipe.h" #include "config.h" @@ -394,11 +395,11 @@ void RecipesTree::edit(int recno) { qDebug() << "edit" << recno; -// EditMisc dialog(recno, this); + EditRecipe dialog(recno, this); /* Signal from editor if a refresh is needed */ -// connect(&dialog, SIGNAL(entry_changed()), this, SLOT(refreshTable())); -// dialog.setModal(true); -// dialog.exec(); + connect(&dialog, SIGNAL(entry_changed()), this, SLOT(refreshTable())); + dialog.setModal(true); + dialog.exec(); }