From 448d6e329a55848e357d57f8ca225d987627ee08 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 Jan 2013 09:23:42 +0000 Subject: Move merge operation to Machine::merge(). Delete unused Engine::import_machine(). git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4956 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/MachinaGUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui') diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp index f95eec2..beb7b3a 100644 --- a/src/gui/MachinaGUI.cpp +++ b/src/gui/MachinaGUI.cpp @@ -543,6 +543,7 @@ MachinaGUI::menu_import_midi() dialog.hide(); machine->reset(NULL, machine->time()); _engine->driver()->set_machine(machine); + _canvas->clear(); rebuild_canvas(); } else { Gtk::MessageDialog msg_dialog(dialog, "Error loading MIDI file", -- cgit v1.2.1