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

@@ -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();
}
};
}