diff --git a/src/recordpanel.cpp b/src/recordpanel.cpp --- a/src/recordpanel.cpp +++ b/src/recordpanel.cpp @@ -217,7 +217,12 @@ bool RecordPanel::confirmOverwrite(QStri void RecordPanel::startRecording(void) { - _recorder->startRecording(selectedFile, _channelMan->infoModel()->channelNames()); + QStringList channelNames; + if (ui->cbHeader->isChecked()) + { + channelNames = _channelMan->infoModel()->channelNames(); + } + _recorder->startRecording(selectedFile, channelNames); emit recordStarted(); } diff --git a/src/recordpanel.ui b/src/recordpanel.ui --- a/src/recordpanel.ui +++ b/src/recordpanel.ui @@ -7,7 +7,7 @@ 0 0 532 - 152 + 169 @@ -80,6 +80,19 @@ + + + Channel names are written to the first line of record file + + + Write header line + + + true + + + + Do not buffer when writing to file. Check this if you are using other software to open the file during recording.