component config refactoring, localization fixes
[debian/openrocket] / src / net / sf / openrocket / gui / configdialog / RocketConfig.java
index 07be2395ad131b1d569e194c0fdbddd660c6907d..701295c2473d3ecfd9b4e447952a31d3eb3af5a2 100644 (file)
@@ -11,6 +11,7 @@ import javax.swing.JScrollPane;
 import javax.swing.JTextArea;
 
 import net.miginfocom.swing.MigLayout;
+import net.sf.openrocket.document.OpenRocketDocument;
 import net.sf.openrocket.l10n.Translator;
 import net.sf.openrocket.rocketcomponent.Rocket;
 import net.sf.openrocket.rocketcomponent.RocketComponent;
@@ -27,8 +28,8 @@ public class RocketConfig extends RocketComponentConfig {
        
        private final Rocket rocket;
        
-       public RocketConfig(RocketComponent c) {
-               super(c);
+       public RocketConfig(OpenRocketDocument d, RocketComponent c) {
+               super(d, c);
                
                rocket = (Rocket) c;