msgBox.setStandardButtons(QMessageBox::Cancel);
msgBox.setDefaultButton(QMessageBox::Cancel);
- int ret = msgBox.exec();
+ msgBox.exec();
}
}
}
GroupWidget* topGroup = dispatcher->createTopScene();
addTopGroup(topGroup);
library->updateComboScene();
+ library->show();
params->isCurrentProject = true;
}
break;
}
}
+ else {
+ doClose = true;
+ }
if (doClose) {
// removing the GroupWidget from stack
QWidget *widget = stackedWidget->widget(1);
void MainWindow::slotGraphValidation() {
- params->parametersValidation();
+ try {
+ params->getGraph()->computeOutputPatterns(5);
+ }
+ catch(Exception e) {
+ cerr << qPrintable(e.getMessage()) << endl;
+ }
}
void MainWindow::addTopGroup(GroupWidget *_topGroup) {
slotCloseProject();
event->ignore();
}
+ else {
+ library->deleteLater();
+ }
}