Fixed incorrect cast of update frequency

Former-commit-id: 0d426d020e8a911be3a54adde1a6e99cc074d8bb
This commit is contained in:
T. van der Zwan 2013-12-03 21:29:37 +01:00
parent 983ce30331
commit 9602017263
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
944c2292ca55b16a31bdf1d89e0e7849d6879995
a63791e2794fa0c76a2a5da3d0ce7b3e4f4089ff

View File

@ -135,7 +135,7 @@ public class ColorSmoothingPanel extends JPanel {
@Override
public void stateChanged(ChangeEvent e) {
mColorConfig.mSmoothingTime_ms = (Integer)mTimeSpinner.getValue();
mColorConfig.mSmoothingUpdateFrequency_Hz = (Integer)mUpdateFrequencySpinner.getValue();
mColorConfig.mSmoothingUpdateFrequency_Hz = (Double)mUpdateFrequencySpinner.getValue();
}
};
}