oops - now add termux/android DV patch
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcpot.C
index b979f915b82f815e017c5155094ab7388031cb94..c5ad40ca17005c77d6af26b121bde95723b3fafa 100644 (file)
@@ -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()