--- gigedit/trunk/src/gigedit/mainwindow.cpp 2014/06/08 19:09:26 2610 +++ gigedit/trunk/src/gigedit/mainwindow.cpp 2014/06/10 19:14:01 2615 @@ -697,6 +697,7 @@ // clear the samples and instruments tree views m_refTreeModel->clear(); m_refSamplesTreeModel->clear(); + m_refScriptsTreeModel->clear(); // remove all entries from "Instrument" menu while (!instrument_menu->get_children().empty()) { remove_instrument_from_menu(0); @@ -711,6 +712,7 @@ // clear the samples and instruments tree views m_refTreeModel->clear(); m_refSamplesTreeModel->clear(); + m_refScriptsTreeModel->clear(); // remove all entries from "Instrument" menu while (!instrument_menu->get_children().empty()) { remove_instrument_from_menu(0);