diff --git a/src/controlP5/ControllerGroup.java b/src/controlP5/ControllerGroup.java index 29887b4..1ca126d 100755 --- a/src/controlP5/ControllerGroup.java +++ b/src/controlP5/ControllerGroup.java @@ -83,7 +83,7 @@ public abstract class ControllerGroup< T extends ControllerGroup< T > > */ public ControllerGroup( ControlP5 theControlP5 , String theName ) { this( theControlP5 , theControlP5.getDefaultTab( ) , theName , 0 , 0 ); - cp5.register( theControlP5.papplet , theName , this ); + cp5.register( cp5.papplet , theName , this ); } public ControllerGroup( ControlP5 theControlP5 , ControllerGroup< ? extends ControllerGroup< ? > >