mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user