From ddcdeb6627cb32e6a21484b32efe97fe10d0152d Mon Sep 17 00:00:00 2001 From: Mike Walters Date: Thu, 15 Feb 2018 16:23:30 +0000 Subject: [PATCH] Enforce minimum export decimation of 1 Fixes #140 --- plotview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plotview.cpp b/plotview.cpp index d1727e3..a36c66b 100644 --- a/plotview.cpp +++ b/plotview.cpp @@ -295,6 +295,7 @@ void PlotView::exportSamples(std::shared_ptr src) QGroupBox groupBox2("Decimation"); QSpinBox decimation(&groupBox2); + decimation.setMinimum(1); decimation.setValue(1 / sampleSrc->relativeBandwidth()); QVBoxLayout vbox2;