diff --git a/src/recordpanel.cpp b/src/recordpanel.cpp --- a/src/recordpanel.cpp +++ b/src/recordpanel.cpp @@ -222,7 +222,7 @@ void RecordPanel::startRecording(void) { channelNames = _channelMan->infoModel()->channelNames(); } - _recorder->startRecording(selectedFile, channelNames); + _recorder->startRecording(selectedFile, getSeparator(), channelNames); emit recordStarted(); } @@ -240,3 +240,10 @@ void RecordPanel::onPortClose() recordAction.setChecked(false); } } + +QString RecordPanel::getSeparator() const +{ + QString sep = ui->leSeparator->text(); + sep.replace("\\t", "\t"); + return sep; +}