aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/MachinaGUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/MachinaGUI.cpp')
-rw-r--r--src/gui/MachinaGUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp
index 025cd8b..0e872fd 100644
--- a/src/gui/MachinaGUI.cpp
+++ b/src/gui/MachinaGUI.cpp
@@ -258,6 +258,7 @@ MachinaGUI::evolve_toggled()
_evolver = SharedPtr<Evolver>(new Evolver("target.mid", _engine->machine()));
_evolve = true;
stop_clicked();
+ _engine->driver()->set_machine(SharedPtr<Machine>());
_evolver->start();
} else {
_evolver->stop();