X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcpot.C;h=c5ad40ca17005c77d6af26b121bde95723b3fafa;hp=b979f915b82f815e017c5155094ab7388031cb94;hb=1b764a9134043e08d4ca6161a6ac58b105cc6b2b;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33 diff --git a/cinelerra-5.1/guicast/bcpot.C b/cinelerra-5.1/guicast/bcpot.C index b979f915..c5ad40ca 100644 --- a/cinelerra-5.1/guicast/bcpot.C +++ b/cinelerra-5.1/guicast/bcpot.C @@ -44,6 +44,8 @@ BC_Pot::BC_Pot(int x, int y, VFrame **data) BC_Pot::~BC_Pot() { + for(int i = 0; i < POT_STATES; i++) + if(images[i]) delete images[i]; } int BC_Pot::calculate_h() @@ -282,8 +284,10 @@ int BC_Pot::keypress_event() show_value_tooltip(); draw(1); handle_event(); + return result; } - return result; + + return context_help_check_and_show(); } int BC_Pot::cursor_enter_event()