Fixes #1151
This commit is contained in:
@@ -136,6 +136,8 @@ Channels::Channels(QWidget * parent, ModelData & model, GeneralSettings & genera
|
|||||||
}
|
}
|
||||||
// Push the rows up
|
// Push the rows up
|
||||||
addVSpring(gridLayout, 0,firmware->getCapability(Outputs)+1);
|
addVSpring(gridLayout, 0,firmware->getCapability(Outputs)+1);
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
}
|
}
|
||||||
|
|
||||||
Channels::~Channels()
|
Channels::~Channels()
|
||||||
|
|||||||
@@ -180,6 +180,8 @@ Curves::Curves(QWidget * parent, ModelData & model, GeneralSettings & generalSet
|
|||||||
addTemplate(tr("Symmetrical f(x)=-f(-x)"), CURVE_COEFF_ENABLE, curveSymmetricalY);
|
addTemplate(tr("Symmetrical f(x)=-f(-x)"), CURVE_COEFF_ENABLE, curveSymmetricalY);
|
||||||
addTemplate(tr("Symmetrical f(x)=f(-x)"), CURVE_COEFF_ENABLE | CURVE_YMID_ENABLE, curveSymmetricalX);
|
addTemplate(tr("Symmetrical f(x)=f(-x)"), CURVE_COEFF_ENABLE | CURVE_YMID_ENABLE, curveSymmetricalX);
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -171,6 +171,8 @@ FlightModePanel::FlightModePanel(QWidget * parent, ModelData & model, int phaseI
|
|||||||
ui->gvGB->hide();
|
ui->gvGB->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ HeliPanel::HeliPanel(QWidget *parent, ModelData & model, GeneralSettings & gener
|
|||||||
connect(ui->swashInvertELE, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
connect(ui->swashInvertELE, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
||||||
connect(ui->swashInvertAIL, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
connect(ui->swashInvertAIL, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
||||||
connect(ui->swashInvertCOL, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
connect(ui->swashInvertCOL, SIGNAL(stateChanged(int)), this, SLOT(edited()));
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
}
|
}
|
||||||
|
|
||||||
HeliPanel::~HeliPanel()
|
HeliPanel::~HeliPanel()
|
||||||
|
|||||||
@@ -116,6 +116,9 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model,
|
|||||||
}
|
}
|
||||||
// Push rows upward
|
// Push rows upward
|
||||||
addVSpring(gridLayout,0,firmware->getCapability(LogicalSwitches)+1);
|
addVSpring(gridLayout,0,firmware->getCapability(LogicalSwitches)+1);
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ TimerPanel::TimerPanel(QWidget *parent, ModelData & model, TimerData & timer, Ge
|
|||||||
if (IS_ARM(GetEepromInterface()->getBoard()) || IS_2560(GetEepromInterface()->getBoard()))
|
if (IS_ARM(GetEepromInterface()->getBoard()) || IS_2560(GetEepromInterface()->getBoard()))
|
||||||
ui->countdownBeep->addItem(tr("Voice"), 2);
|
ui->countdownBeep->addItem(tr("Voice"), 2);
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -157,6 +159,8 @@ ModulePanel::ModulePanel(QWidget *parent, ModelData & model, ModuleData & module
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -478,6 +482,9 @@ SetupPanel::SetupPanel(QWidget *parent, ModelData & model, GeneralSettings & gen
|
|||||||
ui->label_potWarning->hide();
|
ui->label_potWarning->hide();
|
||||||
ui->potWarningMode->hide();
|
ui->potWarningMode->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
lock = false;
|
lock = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,8 @@ TelemetryAnalog::TelemetryAnalog(QWidget *parent, FrSkyChannelData & analog, Mod
|
|||||||
else {
|
else {
|
||||||
ui->label_Max->setText(tr("Range"));
|
ui->label_Max->setText(tr("Range"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
}
|
}
|
||||||
|
|
||||||
void TelemetryAnalog::update()
|
void TelemetryAnalog::update()
|
||||||
@@ -324,6 +326,8 @@ TelemetryCustomScreen::TelemetryCustomScreen(QWidget *parent, ModelData & model,
|
|||||||
ui->screenBarsLayout->addWidget(maxSB[l], l, 3, 1, 1);
|
ui->screenBarsLayout->addWidget(maxSB[l], l, 3, 1, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -516,6 +520,8 @@ TelemetryPanel::TelemetryPanel(QWidget *parent, ModelData & model, GeneralSettin
|
|||||||
ui->bladesCount->setMaximum(128);
|
ui->bladesCount->setMaximum(128);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
disableMouseScrolling();
|
||||||
|
|
||||||
setup();
|
setup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user