mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 15:02:27 +02:00
2021-08-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused a newly created Group record to fail to get an icon in the Group List. * Fixed a bug in rdadmin(1) that could cause a segfault when creating a new Service entry. * Fixed a bug in rdadmin(1) that could cause a segfault when creating a new Schedule Code entry. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
b2adad3a32
commit
4e1c92e07c
@ -22274,3 +22274,10 @@
|
||||
2021-08-15 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed regressions in rdlogmanager(1) that caused the 'Color'
|
||||
setting for Events and Clocks to fail to be saved.
|
||||
2021-08-15 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdadmin(1) that caused a newly created Group
|
||||
record to fail to get an icon in the Group List.
|
||||
* Fixed a bug in rdadmin(1) that could cause a segfault when
|
||||
creating a new Service entry.
|
||||
* Fixed a bug in rdadmin(1) that could cause a segfault when
|
||||
creating a new Schedule Code entry.
|
||||
|
@ -349,7 +349,7 @@ void RDGroupListModel::updateRowLine(int line)
|
||||
{
|
||||
if(line<d_texts.size()) {
|
||||
QString sql=sqlFields()+
|
||||
"where `NAME`='"+RDEscapeString(d_texts.at(line).at(line).toString())+"'";
|
||||
"where `NAME`='"+RDEscapeString(d_texts.at(line).at(0).toString())+"'";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
updateRow(line,q);
|
||||
|
@ -243,7 +243,7 @@ void RDSchedCodeListModel::updateRowLine(int line)
|
||||
{
|
||||
if(line<d_texts.size()) {
|
||||
QString sql=sqlFields()+
|
||||
"where `CODE`='"+RDEscapeString(d_texts.at(line).at(line).toString())+"'";
|
||||
"where `CODE`='"+RDEscapeString(d_texts.at(line).at(0).toString())+"'";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
updateRow(line,q);
|
||||
|
@ -264,7 +264,7 @@ void RDServiceListModel::updateRowLine(int line)
|
||||
{
|
||||
if(line<d_texts.size()) {
|
||||
QString sql=sqlFields()+
|
||||
"where `NAME`='"+RDEscapeString(d_texts.at(line).at(line).toString())+"'";
|
||||
"where `NAME`='"+RDEscapeString(d_texts.at(line).at(0).toString())+"'";
|
||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
updateRow(line,q);
|
||||
|
Loading…
x
Reference in New Issue
Block a user