src/ProdInprod.cpp

changeset 175
f1ed3a2a94e9
parent 173
8514932b61aa
child 227
7966bf14cc34
--- a/src/ProdInprod.cpp	Thu Apr 28 16:59:58 2022 +0200
+++ b/src/ProdInprod.cpp	Thu Apr 28 22:49:13 2022 +0200
@@ -16,6 +16,7 @@
  */
 #include "ProdInprod.h"
 #include "MainWindow.h"
+#include "EditProduct.h"
 #include "config.h"
 #include "global.h"
 
@@ -139,11 +140,11 @@
 
 void ProdInprod::edit(int recno)
 {
-//    EditProfileMash dialog(recno, this);
+    EditProduct 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();
 }
 
 

mercurial