2021-07-20 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdadmin(1) that threw a SQL error when creating a
	new matrix device.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-07-20 19:11:34 -04:00
parent 8579382e71
commit 76156b966a
2 changed files with 6 additions and 3 deletions

View File

@ -22073,3 +22073,6 @@
with a 'primary serial device not active' warning. The following
devices are affected: 'Local GPIO', 'Local Audio Adapter',
'Logitek vGuest', 'Livewire LWRP Audio', and 'Kernel GPIO'.
2021-07-20 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that threw a SQL error when creating a
new matrix device.

View File

@ -132,13 +132,13 @@ void AddMatrix::okData()
QString().sprintf("`MATRIX`=%d,",add_matrix_box->value())+
"`PORT`=0,"+
QString().sprintf("`TYPE`=%d,",add_type_box->currentIndex())+
QString().sprintf("`INPUTS`=%d",
QString().sprintf("`INPUTS`=%d,",
RDMatrix::defaultControlValue((RDMatrix::Type)add_type_box->
currentIndex(),RDMatrix::InputsControl))+
QString().sprintf("`OUTPUTS`=%d",
QString().sprintf("`OUTPUTS`=%d,",
RDMatrix::defaultControlValue((RDMatrix::Type)add_type_box->
currentIndex(),RDMatrix::OutputsControl))+
QString().sprintf("`GPIS`=%d",
QString().sprintf("`GPIS`=%d,",
RDMatrix::defaultControlValue((RDMatrix::Type)add_type_box->
currentIndex(),RDMatrix::GpisControl))+
QString().sprintf("`GPOS`=%d,",