X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Freverb%2Freverb.C;h=7d38fe5f5d9d3538857158c4d4dc81ca25c6e160;hp=4248a3cdc836ef7dfb7a7ecf52a247393b596f14;hb=033efab12586e8086014c814a5360f211d228ac3;hpb=0e6cf5b52d1ebce9272270144bcf43df4683507e diff --git a/cinelerra-5.1/plugins/reverb/reverb.C b/cinelerra-5.1/plugins/reverb/reverb.C index 4248a3cd..7d38fe5f 100644 --- a/cinelerra-5.1/plugins/reverb/reverb.C +++ b/cinelerra-5.1/plugins/reverb/reverb.C @@ -359,12 +359,12 @@ void Reverb::update_gui() ReverbWindow *window = (ReverbWindow *)thread->window; if( !window ) return; int reconfigured = load_configuration(); - int total_frames = pending_gui_frames(); - if( !reconfigured && !total_frames ) return; + int pending = pending_gui_frame(); + if( !reconfigured && !pending ) return; window->lock_window("Reverb::update_gui 1"); if( reconfigured ) window->update(); - if( total_frames ) + if( pending ) window->update_canvas(); window->unlock_window(); }