Git commit a19ba3d5b41c52f0988fa484a1c587578b631f33 by Jasem Mutlaq. Committed on 31/08/2015 at 21:58. Pushed by mutlaqja into branch 'gsoc2015-ekos'. Only set HFR value from file if it is larger than zero M +3 -1 kstars/ekos/capture.cpp http://commits.kde.org/kstars/a19ba3d5b41c52f0988fa484a1c587578b631f33 diff --git a/kstars/ekos/capture.cpp b/kstars/ekos/capture.cpp index 412f26d..8d30437 100644 --- a/kstars/ekos/capture.cpp +++ b/kstars/ekos/capture.cpp @@ -1990,7 +1990,9 @@ bool Capture::loadSequenceQueue(const QUrl &fileURL) if (!strcmp(findXMLAttValu(ep, "enabled"), "true")) { autofocusCheck->setChecked(true); - HFRPixels->setValue(atof(pcdataXMLEle(ep))); + float HFRValue =3D atof(pcdataXMLEle(ep)); + if (HFRValue > 0) + HFRPixels->setValue(HFRValue); } else autofocusCheck->setChecked(false);