Commit 33ca4f5e authored by Jasem Mutlaq's avatar Jasem Mutlaq

Fix checking for FITS_GUIDE

parent 7046c94c
......@@ -236,7 +236,7 @@ int FITSView::rescale(FITSZoom type)
if (min == max)
// For focus and guide, we silenty ignore saturation error.
if (mode == FITS_FOCUS || FITS_GUIDE)
if (mode == FITS_FOCUS || mode == FITS_GUIDE)
qDebug() << "FITS image is saturated and cannot be displayed." << endl;
KMessageBox::error(0, i18n("FITS image is saturated and cannot be displayed."), i18n("FITS Open"));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment