mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-22 15:41:41 +02:00
2021-07-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'RDLogListModel::updateRowLine()' that caused a segfault. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
46d07864c0
commit
b7b7363d69
@ -22094,3 +22094,6 @@
|
||||
* Added type icons to the 'Location' dropdowns in rdcatch(1).
|
||||
2021-07-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed layout errors in the 'Add Log' dialog in 'RDAddLog'.
|
||||
2021-07-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'RDLogListModel::updateRowLine()' that caused a
|
||||
segfault.
|
||||
|
@ -268,7 +268,7 @@ void RDLogListModel::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