msgBox.setStandardButtons(QMessageBox::Cancel);
msgBox.setDefaultButton(QMessageBox::Cancel);
- int ret = msgBox.exec();
+ msgBox.exec();
}
}
}
void MainWindow::slotGraphValidation() {
- params->getGraph()->computeOutputPatterns(5);
- //params->parametersValidation();
+ try {
+ params->getGraph()->computeOutputPatterns(5);
+ }
+ catch(Exception e) {
+ cerr << qPrintable(e.getMessage()) << endl;
+ }
}
void MainWindow::addTopGroup(GroupWidget *_topGroup) {