mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-02 07:03:51 +01:00
2023-03-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that threw a SQL error when attempting to create a new Switcher/GPIO instance. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24006,3 +24006,6 @@
|
||||
2023-03-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdvairplayd(8) that caused a segfault on
|
||||
startup.
|
||||
2023-03-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdadmin(1) that threw a SQL error when attempting
|
||||
to create a new Switcher/GPIO instance.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Edit a Rivendell Matrix
|
||||
//
|
||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -1538,6 +1538,9 @@ void EditMatrix::AddResources(RDMatrix::VguestType type) const
|
||||
if(edit_matrix->type()==RDMatrix::LogitekVguest) {
|
||||
sql+=QString::asprintf("`VGUEST_TYPE`=%d,",type);
|
||||
}
|
||||
else {
|
||||
sql+=QString::asprintf("`VGUEST_TYPE`=%d,",RDMatrix::VguestTypeNone);
|
||||
}
|
||||
sql+=QString::asprintf("`NUMBER`=%d",i+1);
|
||||
RDSqlQuery::apply(sql);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user