X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;h=d01268618d80f17887547e1f04ad357d3a0f59b9;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=5cf353caff3068013edd24f29bd6f36accfa3775;hpb=361dbd9de4e6e4143ea0cac5daa89b30685a4c70;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/gwindowgui.C b/cinelerra-5.1/cinelerra/gwindowgui.C index 5cf353ca..d0126861 100644 --- a/cinelerra-5.1/cinelerra/gwindowgui.C +++ b/cinelerra-5.1/cinelerra/gwindowgui.C @@ -248,7 +248,7 @@ void GWindowColorButton::update_gui(int color) } GWindowColorThread::GWindowColorThread(GWindowColorButton *color_button) - : ColorThread(0, color_button->auto_toggle->caption) + : ColorPicker(0, color_button->auto_toggle->caption) { this->color = 0; this->color_button = color_button; @@ -415,6 +415,7 @@ int GWindowGUI::translation_event() int GWindowGUI::close_event() { + delete color_thread; color_thread = 0; hide_window(); mwindow->session->show_gwindow = 0; unlock_window();