plotview: Setup default fftSize/zoomLevel to prevent divide-by-zero during load

This commit is contained in:
Mike Walters
2016-03-06 16:50:35 +00:00
parent 515db69950
commit 710fbd97f3

View File

@@ -65,8 +65,8 @@ private:
range_t<off_t> selectedSamples;
std::pair<float, float> selectionFreq;
int fftSize;
int zoomLevel;
int fftSize = 1024;
int zoomLevel = 0;
int powerMin;
int powerMax;
bool cursorsEnabled;