Index: trunk/BNC/rinex/reqcedit.cpp
===================================================================
--- trunk/BNC/rinex/reqcedit.cpp	(revision 4116)
+++ trunk/BNC/rinex/reqcedit.cpp	(revision 4117)
@@ -148,7 +148,14 @@
       }
       editRnxObsHeader(outObsFile);
+      bncSettings settings;
       QMap<QString, QString> txtMap;
-      txtMap["RUN BY"]  = "BKG";
-      txtMap["COMMENT"] = "First comment line\nSecond comment line";
+      QString runBy = settings.value("reqcRunBy").toString();
+      if (!runBy.isEmpty()) {
+        txtMap["RUN BY"]  = runBy;
+      }
+      QString comment = settings.value("reqcComment").toString();
+      if (!comment.isEmpty()) {
+        txtMap["COMMENT"]  = comment;
+      }
       outObsFile.writeHeader(txtMap);
     }
