]> AND Private Git Repository - blast.git/blobdiff - NewProjectDialog.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
moved clocks list to graph
[blast.git] / NewProjectDialog.cpp
index beed4278fdc4064b0d871643db86c75ed4c1b1e8..d8e72f651db892b067e59a63d20421f62f1b33d7 100644 (file)
@@ -71,7 +71,7 @@ void NewProjectDialog::checkBeforeAccept() {
   //cout << "all ok" << endl;
   params->projectPath = dirProjEdit->text();
   params->projectFile = params->projectPath + "/" + params->projectName + ".xml";
   //cout << "all ok" << endl;
   params->projectPath = dirProjEdit->text();
   params->projectFile = params->projectPath + "/" + params->projectName + ".xml";
-  params->clocks.append(freq);
+  params->mainClock = freq;
   if (autoConnClkCheck->isChecked()) {
     params->autoConnMainClk = true;
   }
   if (autoConnClkCheck->isChecked()) {
     params->autoConnMainClk = true;
   }