diff --git a/plugins/channelrx/radioastronomy/radioastronomygui.cpp b/plugins/channelrx/radioastronomy/radioastronomygui.cpp index a4660ba0b..177e95c35 100644 --- a/plugins/channelrx/radioastronomy/radioastronomygui.cpp +++ b/plugins/channelrx/radioastronomy/radioastronomygui.cpp @@ -184,7 +184,8 @@ void RadioAstronomyGUI::LABData::read(QFile* file, float l, float b) if (!line.startsWith("%") && (line.size() > 0)) // Lines starting with % are comments { // 4 cols: v_lsr [km/s], T_B [K], freq. [Mhz], wavel. [cm] - QStringList cols = line.split(" ", Qt::SkipEmptyParts); + line = line.simplified(); + QStringList cols = line.split(" "); if (cols.size() == 4) { m_vlsr.append(cols[0].toFloat());