version update, rpm spec libva/vdpau fix, colorpicker tweaks, revert opencv v4->v3
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / titler / titlerwindow.C
index a0c7882630a2d197af121ec077dfc2db267bbd6a..251389cd3240a5782c8330528a86acb506e6b883 100644 (file)
@@ -118,6 +118,8 @@ TitleWindow::TitleWindow(TitleMain *client)
 
 void TitleWindow::done_event(int result)
 {
+       color_button->close_picker();
+       outline_button->close_picker();
        drag->drag_deactivate();
        delete color_popup;     color_popup = 0;
        delete png_popup;       png_popup = 0;
@@ -780,7 +782,9 @@ void TitleColorButton::handle_done_event(int result)
 {
        if( result ) {
                handle_new_color(orig_color, orig_alpha);
+               window->lock_window("TitleColorButton::handle_done_event");
                update_gui(orig_color);
+               window->unlock_window();
        }
 }