2019-11-26 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdcatch(1) that caused the 'Source' dropdown
	in the 'Edit Recording' dialog to fail to be populated properly.
This commit is contained in:
Fred Gleason 2019-11-26 18:48:31 -05:00
parent cc17818b0d
commit 7f79536887
2 changed files with 4 additions and 2 deletions

View File

@ -19271,3 +19271,6 @@
* Removed 'Q3Socket' dependencies from 'RDCatchConnect'.
2019-11-26 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 3.2.0int0.
2019-11-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatch(1) that caused the 'Source' dropdown
in the 'Edit Recording' dialog to fail to be populated properly.

View File

@ -593,7 +593,7 @@ void EditRecording::activateStationData(int id,bool use_temp)
if(edit_deck!=NULL) {
delete edit_deck;
}
edit_deck=new RDDeck(f0[0],f0[1].toInt());
edit_deck=new RDDeck(f0[0],f0[1].left(f0[1].length()-1).toInt());
if(edit_channels_box->count()>0) {
edit_channels_box->setCurrentItem(edit_deck->defaultChannels()-1);
}
@ -602,7 +602,6 @@ void EditRecording::activateStationData(int id,bool use_temp)
"(STATION_NAME=\""+RDEscapeString(edit_deck->switchStation())+"\")&&"+
QString().sprintf("(MATRIX=%d)",edit_deck->switchMatrix());
q=new RDSqlQuery(sql);
while(q->next()) {
edit_source_box->insertItem(q->value(0).toString());
}