diff --git a/src/controlP5/ControlGroup.java b/src/controlP5/ControlGroup.java index 8f2b40d..f7c9745 100755 --- a/src/controlP5/ControlGroup.java +++ b/src/controlP5/ControlGroup.java @@ -56,7 +56,7 @@ public class ControlGroup< T extends ControlGroup< T > > extends ControllerGroup */ public ControlGroup( ControlP5 theControlP5 , String theName ) { this( theControlP5 , theControlP5.getDefaultTab( ) , theName , 0 , 0 , 100 , 9 ); - cp5.register( theControlP5.papplet , theName , this ); + cp5.register( cp5.papplet , theName , this ); } public ControlGroup( ControlP5 theControlP5 , ControllerGroup< ? extends ControllerGroup< ? > > theParent ,