vector<Sequence> motif_seq(motif.begin(), motif.end());
applyButton->setFocusPolicy(Qt::StrongFocus);
- connect(applyButton, SIGNAL(clicked()), this, SLOT(updateMotifs()));
+ connect(applyButton, SIGNAL(clicked()), this, SLOT(updateAnalysisMotifs()));
button_layout->addStretch();
button_layout->addWidget(applyButton);
void MotifEditor::updateModel()
{
- MotifModel *new_model = new MotifModel();
+ MotifModel *new_model = new MotifModel(analysis);
- new_model->push_empty();
-
// if there was an old model, delete it
if (model) {
delete model;
updateView();
}
-void MotifEditor::updateMotifs()
+void MotifEditor::updateAnalysisMotifs()
{
// This function is _sooo_ not thread safe
// erase motifs