--- gigedit/trunk/src/gigedit/mainwindow.cpp 2009/02/03 19:38:19 1831 +++ gigedit/trunk/src/gigedit/mainwindow.cpp 2009/03/01 22:26:36 1853 @@ -887,6 +887,8 @@ } // cleanup sf_close(hFile); + // let the sampler re-cache the sample if needed + sample_changed_signal.emit(iter->gig_sample); // on success we remove the sample from the import queue, // otherwise keep it, maybe it works the next time ? std::list::iterator cur = iter; @@ -1873,6 +1875,10 @@ return region_changed_signal; } +sigc::signal& MainWindow::signal_sample_changed() { + return sample_changed_signal; +} + sigc::signal& MainWindow::signal_sample_ref_changed() { return sample_ref_changed_signal; }