Merge commit '42b2e5ca519766e37ce6941ba4faecc9691cc403' into upstream
[debian/openrocket] / android / src / net / sf / openrocket / android / MotorDatabaseAdapter.java
index 7260918479a7114a17d72a9ce94ee819174bf910..cb027d2b8a1a77e242d8be57435000ee1071a19c 100644 (file)
@@ -33,7 +33,7 @@ public class MotorDatabaseAdapter implements MotorDatabase {
                try {\r
                        ExtendedThrustCurveMotor m = mDbHelper.getMotorDao().fetchMotor(manufacturer, designation);\r
                        if ( m != null ) {\r
-                               return Collections.singletonList(m.getThrustCurveMotor());\r
+                               return Collections.singletonList(m);\r
                        }\r
                } catch ( Exception ex ) {\r
 \r