mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2022-08-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdcatch(1) that caused switch event endpoints to be sorted alphabetically rather than by endpoint number in the 'Edit Switcher Event' dialog. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -247,7 +247,7 @@ void EditSwitchEvent::activateMatrixData(const QString &str)
|
||||
"from `INPUTS` where "+
|
||||
"(`STATION_NAME`='"+RDEscapeString(edit_event_widget->stationName())+"')&&"+
|
||||
QString::asprintf("(`MATRIX`=%d) ",GetMatrix())+
|
||||
"order by `NAME`";
|
||||
"order by `NUMBER`";
|
||||
edit_input_box->clear();
|
||||
edit_input_box->insertItem(tr("--OFF--"));
|
||||
int input=edit_recording->switchSource();
|
||||
@@ -275,7 +275,7 @@ void EditSwitchEvent::activateMatrixData(const QString &str)
|
||||
"from `OUTPUTS` where "+
|
||||
"(`STATION_NAME`='"+RDEscapeString(edit_event_widget->stationName())+"')&&"+
|
||||
QString::asprintf("(`MATRIX`=%d) ",GetMatrix())+
|
||||
"order by `NAME`";
|
||||
"order by `NUMBER`";
|
||||
edit_output_box->clear();
|
||||
int output=edit_recording->switchDestination();
|
||||
if((outputs=edit_matrix->outputs())>0) {
|
||||
|
Reference in New Issue
Block a user