2022-07-27 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Software Authority' Switcher/GPIO driver
	that made it impossible to add switcher events in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-07-27 18:21:32 -04:00
parent 0bb0e6e766
commit 5bc374cf88
3 changed files with 5 additions and 3 deletions

View File

@@ -23200,3 +23200,6 @@
2022-07-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that permitted immutable switcher endpoint
names to be edited.
2022-07-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Software Authority' Switcher/GPIO driver
that made it impossible to add switcher events in rdcatch(1).

View File

@@ -27,7 +27,6 @@
#include "edit_switchevent.h"
//EditSwitchEvent::EditSwitchEvent(int id,std::vector<int> *adds,QWidget *parent)
EditSwitchEvent::EditSwitchEvent(QWidget *parent)
: RDDialog(parent)
{

View File

@@ -421,8 +421,8 @@ void SoftwareAuthority::DispatchCommand()
QString::asprintf("`NUMBER`=%d",f0[0].toInt());
swa_next_endpt++;
if(f0[0].toInt()>swa_inputs) {
swa_inputs=f0[0].toInt();
if(f0[0].toInt()>swa_outputs) {
swa_outputs=f0[0].toInt();
}
RDSqlQuery::apply(sql);
break;