Fixing sample file dialog initialization and other things - Alex
[terminatorX.git] / src / tX_vtt.cc
index b2fea64ce95d7198cc3db5a2d830d00002a0c23b..cfd788ea15781a16c82cc7b4e3e40e0bd16e9498 100644 (file)
@@ -215,6 +215,8 @@ vtt_class :: ~vtt_class()
        if (output_buffer) tX_freemem(output_buffer, "output_buffer", "vtt Destructor");
        vtt_amount--;
        
+       if (mix_solo) solo_ctr--;
+       
        while (fx_list.size())
        { 
                effect=(*fx_list.begin());
@@ -1521,6 +1523,10 @@ int vtt_class :: load(xmlDocPtr doc, xmlNodePtr node) {
 
        recalc_volume();
 
+       if (mix_solo) {
+               solo_ctr++;
+       }
+       
        if (xpar_id>=0) {
                set_x_input_parameter(tX_seqpar :: get_sp_by_persistence_id(xpar_id));
        }