diff --git a/src/controlP5/Textarea.java b/src/controlP5/Textarea.java index 0436879..68b6d3e 100755 --- a/src/controlP5/Textarea.java +++ b/src/controlP5/Textarea.java @@ -59,7 +59,7 @@ public class Textarea extends ControllerGroup< Textarea > { */ public Textarea( ControlP5 theControlP5 , String theName ) { this( theControlP5 , theControlP5.getDefaultTab( ) , theName , "" , 0 , 0 , 199 , 99 ); - theControlP5.register( theControlP5.papplet , theName , this ); + cp5.register( cp5.papplet , theName , this ); } /**