From 34e01ff90bc8990451a1a30dc0f08f7f0a4e4c75 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Sat, 14 Oct 2017 17:04:39 -0400 Subject: [PATCH] 2017-10-14 Fred Gleason * Fixed a bug in RDStation that caused RDLogEdit parameters to fail to be copied as part of the profile of a new host. --- ChangeLog | 3 +++ lib/rdstation.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 612650ee..e8a26a15 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16117,3 +16117,6 @@ 2017-10-14 Fred Gleason * Fixed a bug in RDStation that caused RDLibrary parameters to fail to be copied as part of the profile of a new host. +2017-10-14 Fred Gleason + * Fixed a bug in RDStation that caused RDLogEdit parameters to + fail to be copied as part of the profile of a new host. diff --git a/lib/rdstation.cpp b/lib/rdstation.cpp index 928c1294..f5434bae 100644 --- a/lib/rdstation.cpp +++ b/lib/rdstation.cpp @@ -920,7 +920,8 @@ bool RDStation::create(const QString &name,QString *err_msg, "REC_END_CART,"+ // 14 "TRIM_THRESHOLD,"+ // 15 "RIPPER_LEVEL,"+ // 16 - "DEFAULT_TRANS_TYPE "+ // 17 + "DEFAULT_TRANS_TYPE,"+ // 17 + "ENABLE_SECOND_START "+ // 18 "from RDLOGEDIT where "+ "STATION=\""+RDEscapeString(exemplar)+"\""; q=new RDSqlQuery(sql); @@ -944,7 +945,8 @@ bool RDStation::create(const QString &name,QString *err_msg, QString().sprintf("REC_END_CART=%u,",q->value(14).toUInt())+ QString().sprintf("TRIM_THRESHOLD=%d,",q->value(15).toInt())+ QString().sprintf("RIPPER_LEVEL=%d,",q->value(16).toInt())+ - QString().sprintf("DEFAULT_TRANS_TYPE=%d",q->value(17).toInt()); + QString().sprintf("DEFAULT_TRANS_TYPE=%d,",q->value(17).toInt())+ + "ENABLE_SECOND_START=\""+RDEscapeString(q->value(18).toString())+"\""; q1=new RDSqlQuery(sql); delete q1; }