mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-07 02:26:29 +02:00
Update Live Engine Analysis
This commit is contained in:
parent
cb4f5ada5c
commit
b915dfc266
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ void LiveEngineDialog::OnClose(wxCloseEvent &e) {
|
||||||
void LiveEngineDialog::SetFEN(std::string fen) {
|
void LiveEngineDialog::SetFEN(std::string fen) {
|
||||||
if (timer.IsRunning()) {
|
if (timer.IsRunning()) {
|
||||||
StopEngine();
|
StopEngine();
|
||||||
|
engine->position(fen);
|
||||||
StartEngine();
|
StartEngine();
|
||||||
} else {
|
} else {
|
||||||
engine->position(fen);
|
engine->position(fen);
|
||||||
|
|
Loading…
Add table
Reference in a new issue