mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-16 08:34:12 +02:00
2021-04-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused the incorrect hostname to populate in the 'Name' column after creating a new host entry in the 'Rivendell Host List' dialog. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
63fd2c6c28
commit
3887d806b0
@ -21444,3 +21444,7 @@
|
|||||||
new host entries.
|
new host entries.
|
||||||
* Disabled cloning on hotkey data when creating new host entries
|
* Disabled cloning on hotkey data when creating new host entries
|
||||||
in rdadmin(1).
|
in rdadmin(1).
|
||||||
|
2021-04-16 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in rdadmin(1) that caused the incorrect hostname to
|
||||||
|
populate in the 'Name' column after creating a new host entry in
|
||||||
|
the 'Rivendell Host List' dialog.
|
||||||
|
@ -298,7 +298,7 @@ void RDStationListModel::updateRowLine(int line)
|
|||||||
{
|
{
|
||||||
if(line<d_texts.size()) {
|
if(line<d_texts.size()) {
|
||||||
QString sql=sqlFields()+
|
QString sql=sqlFields()+
|
||||||
"where NAME=\""+RDEscapeString(d_hostnames.at(0))+"\"";
|
"where NAME=\""+RDEscapeString(d_hostnames.at(line))+"\"";
|
||||||
RDSqlQuery *q=new RDSqlQuery(sql);
|
RDSqlQuery *q=new RDSqlQuery(sql);
|
||||||
if(q->first()) {
|
if(q->first()) {
|
||||||
updateRow(line,q);
|
updateRow(line,q);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user