QHBoxLayout *layAuto = new QHBoxLayout;
autoConnClkCheck = new QCheckBox("Auto-connect blocks to main clock");
- autoConnClkCheck->setChecked(true);
+ autoConnClkCheck->setChecked(true);
+ layAuto->addWidget(autoConnClkCheck);
QVBoxLayout *layAll = new QVBoxLayout;
//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;
}