src/EditRecipe.cpp

changeset 129
a9c19eaab018
parent 128
0f4eee875ea6
child 131
0115b97e8c39
--- a/src/EditRecipe.cpp	Mon Apr 11 17:33:38 2022 +0200
+++ b/src/EditRecipe.cpp	Mon Apr 11 20:45:22 2022 +0200
@@ -488,9 +488,10 @@
     connect(ui->addFermentable, SIGNAL(clicked()), this, SLOT(on_addFermentRow_clicked()));
 
     // All signals from tab "Hops"
+    ui->hopsTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
     connect(ui->hop_tasteShow, &QProgressBar::valueChanged, this, &EditRecipe::on_Flavour_valueChanged);
     connect(ui->hop_aromaShow, &QProgressBar::valueChanged, this, &EditRecipe::on_Aroma_valueChanged);
-//    connect(ui->hopsTable, SIGNAL(cellChanged(int, int)), this, SLOT(cell_Changed(int, int)));
+    connect(ui->addHop, SIGNAL(clicked()), this, SLOT(on_addHopRow_clicked()));
 
     // All signals from tab "Miscs"
 //    connect(ui->hopsTable, SIGNAL(cellChanged(int, int)), this, SLOT(cell_Changed(int, int)));
@@ -889,6 +890,7 @@
 #include "EditRecipeTab4.cpp"
 #include "EditRecipeTab5.cpp"
 #include "EditRecipeTab6.cpp"
+#include "EditRecipeTab7.cpp"
 
 
 void EditRecipe::on_deleteButton_clicked()

mercurial