36 switches hidden in Companion when no Multipos switches ...

This commit is contained in:
bsongis
2014-04-02 10:25:07 +02:00
parent a522dc149f
commit 1bf95c9438
29 changed files with 101 additions and 93 deletions
+2 -3
View File
@@ -4,8 +4,7 @@
#include "helpers.h"
InputsPanel::InputsPanel(QWidget *parent, ModelData & model, GeneralSettings & generalSettings):
ModelPanel(parent, model),
generalSettings(generalSettings),
ModelPanel(parent, model, generalSettings),
expoInserted(false)
{
QGridLayout * exposLayout = new QGridLayout(this);
@@ -175,7 +174,7 @@ void InputsPanel::gm_openExpo(int index)
if (GetEepromInterface()->getCapability(VirtualInputs))
strcpy(inputName, model.inputNames[mixd.chn]);
ExpoDialog *g = new ExpoDialog(this, model, &mixd, generalSettings.stickMode, inputName);
ExpoDialog *g = new ExpoDialog(this, model, &mixd, generalSettings, inputName);
if (g->exec()) {
model.expoData[index] = mixd;
if (GetEepromInterface()->getCapability(VirtualInputs))