--- linuxsampler/trunk/src/engines/gig/EngineChannel.cpp 2007/08/28 17:00:19 1308 +++ linuxsampler/trunk/src/engines/gig/EngineChannel.cpp 2007/08/29 10:36:32 1309 @@ -196,16 +196,19 @@ } catch (RIFF::Exception e) { InstrumentStat = -2; + StatusChanged(true); String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message; throw Exception(msg); } catch (InstrumentManagerException e) { InstrumentStat = -3; + StatusChanged(true); String msg = "gig::Engine error: Failed to load instrument, cause: " + e.Message(); throw Exception(msg); } catch (...) { InstrumentStat = -4; + StatusChanged(true); throw Exception("gig::Engine error: Failed to load instrument, cause: Unknown exception while trying to parse gig file."); }