--- gigedit/trunk/src/gigedit/mainwindow.cpp 2007/09/04 11:04:56 1322 +++ gigedit/trunk/src/gigedit/mainwindow.cpp 2007/09/07 21:18:31 1328 @@ -510,6 +510,9 @@ msg.run(); Gtk::Main::quit(); } + // clear all GUI elements + __clear(); + // load the instrument gig::File* pFile = (gig::File*) instr->GetParent(); load_gig(pFile, 0 /*file name*/); //TODO: automatically select the given instrument