2018-05-04 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug that caused the 'Switcher Matrix' and
	'Switcher Output' dropdowns to populate incorrect values when
	selecting a non-local 'Switcher Host' in the 'Configure RDCatch'
	dialog in rdadmin(1).
This commit is contained in:
Fred Gleason
2018-05-05 20:11:32 +00:00
parent d63314500a
commit 5c65f09e60
2 changed files with 6 additions and 1 deletions

View File

@@ -806,7 +806,7 @@ QStringList EditDecks::GetActiveOutputMatrices()
edit_matrix_ids.clear();
sql=QString("select TYPE,NAME,OUTPUTS,MATRIX from MATRICES where ")+
"STATION_NAME=\""+RDEscapeString(edit_station->name())+"\"";
"STATION_NAME=\""+RDEscapeString(edit_swstation_box->currentText())+"\"";
q=new RDSqlQuery(sql);
while(q->next()) {
switch((RDMatrix::Type)q->value(0).toInt()) {