compressors: added mkup_gain reset, fixed smooth_only
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / reverb / reverb.C
index 4248a3cdc836ef7dfb7a7ecf52a247393b596f14..7d38fe5f5d9d3538857158c4d4dc81ca25c6e160 100644 (file)
@@ -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();
 }