Skip to content

Commit 1ec881a

Browse files
author
David Navrkal
committed
Some bug repairs.
1 parent 2c16d25 commit 1ec881a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RegularConvertor/algorithms/algorithmwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ AlgorithmWidget::AlgorithmWidget(Algorithm::modes _mode, QWidget *parent) :
1414
connect(this->ui->playButton,SIGNAL(clicked()),this,SLOT(emitPlay()));
1515
connect(this->ui->stopButton,SIGNAL(clicked()),this,SIGNAL(stopPressed()));
1616
connect(this->ui->checkButton,SIGNAL(clicked()),this,SIGNAL(checkSolutionPressed()));
17-
connect(this->ui->beginButton,SIGNAL(clicked()), this, SIGNAl(beginPressed()));
17+
connect(this->ui->beginButton,SIGNAL(clicked()), this, SIGNAL(beginPressed()));
1818
connect(this->ui->endButton,SIGNAL(clicked()),this, SIGNAL(endPressed()));
1919
setWidgets(mode);
2020
}

RegularConvertor/algorithms/fatodfa.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void FaToDFA::showUserSolution()
409409

410410
void FaToDFA::toBegin()
411411
{
412-
not_dfa_widget->setFA(FA);
412+
not_dfa_widget->setFA(new FiniteAutomata(FA));
413413
}
414414

415415
void FaToDFA::toEnd()

0 commit comments

Comments
 (0)