src/MonNodes.cpp

changeset 346
792058058c2f
parent 312
251b9aaae916
child 492
c3a781b4d35b
equal deleted inserted replaced
345:e4f1769047db 346:792058058c2f
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 #include "MonNodes.h" 17 #include "MonNodes.h"
18 #include "EditSupplier.h" 18 #include "DetailNode.h"
19 #include "MainWindow.h" 19 #include "MainWindow.h"
20 #include "config.h" 20 #include "config.h"
21 21
22 22
23 23
138 138
139 void MonNodes::refreshNodes(QString node) 139 void MonNodes::refreshNodes(QString node)
140 { 140 {
141 qDebug() << "refreshNodes" << node; 141 qDebug() << "refreshNodes" << node;
142 emit refreshTable(); 142 emit refreshTable();
143 emit updateNode(node);
143 } 144 }
144 145
145 146
146 void MonNodes::edit(int recno) 147 void MonNodes::edit(int recno)
147 { 148 {
148 // EditSupplier dialog(recno, this); 149 DetailNode dialog(recno, this);
149 /* Signal from editor if a refresh is needed */ 150 dialog.setModal(true);
150 // connect(&dialog, SIGNAL(entry_changed()), this, SLOT(refreshTable())); 151 dialog.exec();
151 // dialog.setModal(true);
152 // dialog.exec();
153 } 152 }
154 153
155 154
156 void MonNodes::on_editButton_clicked() 155 void MonNodes::on_editButton_clicked()
157 { 156 {

mercurial