2021-02-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed various regressions in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-25 09:22:24 -05:00
parent 819af91cbe
commit 776e3ca842
16 changed files with 30 additions and 42 deletions

View File

@@ -236,7 +236,7 @@ void RDStationListModel::refresh(const QModelIndex &row)
{
if(row.row()<d_texts.size()) {
QString sql=sqlFields()+
"where STATIONS.NAME=\""+RDEscapeString(d_hostnames.at(0))+"\"";
"where STATIONS.NAME=\""+RDEscapeString(d_hostnames.at(row.row()))+"\"";
RDSqlQuery *q=new RDSqlQuery(sql);
if(q->first()) {
updateRow(row.row(),q);