diff --git a/companion/src/modeledit/channels.cpp b/companion/src/modeledit/channels.cpp index 80b47cc34..634a5344b 100644 --- a/companion/src/modeledit/channels.cpp +++ b/companion/src/modeledit/channels.cpp @@ -136,6 +136,8 @@ Channels::Channels(QWidget * parent, ModelData & model, GeneralSettings & genera } // Push the rows up addVSpring(gridLayout, 0,firmware->getCapability(Outputs)+1); + + disableMouseScrolling(); } Channels::~Channels() diff --git a/companion/src/modeledit/curves.cpp b/companion/src/modeledit/curves.cpp index 20817a67c..65d665411 100644 --- a/companion/src/modeledit/curves.cpp +++ b/companion/src/modeledit/curves.cpp @@ -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 | CURVE_YMID_ENABLE, curveSymmetricalX); + disableMouseScrolling(); + lock = false; } diff --git a/companion/src/modeledit/flightmodes.cpp b/companion/src/modeledit/flightmodes.cpp index df3ee55a7..6715290bc 100644 --- a/companion/src/modeledit/flightmodes.cpp +++ b/companion/src/modeledit/flightmodes.cpp @@ -171,6 +171,8 @@ FlightModePanel::FlightModePanel(QWidget * parent, ModelData & model, int phaseI ui->gvGB->hide(); } + disableMouseScrolling(); + update(); } diff --git a/companion/src/modeledit/heli.cpp b/companion/src/modeledit/heli.cpp index 3b56e19fb..3fda9f91e 100644 --- a/companion/src/modeledit/heli.cpp +++ b/companion/src/modeledit/heli.cpp @@ -14,6 +14,8 @@ HeliPanel::HeliPanel(QWidget *parent, ModelData & model, GeneralSettings & gener connect(ui->swashInvertELE, SIGNAL(stateChanged(int)), this, SLOT(edited())); connect(ui->swashInvertAIL, SIGNAL(stateChanged(int)), this, SLOT(edited())); connect(ui->swashInvertCOL, SIGNAL(stateChanged(int)), this, SLOT(edited())); + + disableMouseScrolling(); } HeliPanel::~HeliPanel() diff --git a/companion/src/modeledit/logicalswitches.cpp b/companion/src/modeledit/logicalswitches.cpp index d0c2ae4a1..df17c0ce3 100644 --- a/companion/src/modeledit/logicalswitches.cpp +++ b/companion/src/modeledit/logicalswitches.cpp @@ -116,6 +116,9 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model, } // Push rows upward addVSpring(gridLayout,0,firmware->getCapability(LogicalSwitches)+1); + + disableMouseScrolling(); + lock = false; } diff --git a/companion/src/modeledit/setup.cpp b/companion/src/modeledit/setup.cpp index 6a4b62f99..bc7b96448 100644 --- a/companion/src/modeledit/setup.cpp +++ b/companion/src/modeledit/setup.cpp @@ -28,6 +28,8 @@ TimerPanel::TimerPanel(QWidget *parent, ModelData & model, TimerData & timer, Ge if (IS_ARM(GetEepromInterface()->getBoard()) || IS_2560(GetEepromInterface()->getBoard())) ui->countdownBeep->addItem(tr("Voice"), 2); + disableMouseScrolling(); + lock = false; } @@ -157,6 +159,8 @@ ModulePanel::ModulePanel(QWidget *parent, ModelData & model, ModuleData & module } } + disableMouseScrolling(); + lock = false; } @@ -478,6 +482,9 @@ SetupPanel::SetupPanel(QWidget *parent, ModelData & model, GeneralSettings & gen ui->label_potWarning->hide(); ui->potWarningMode->hide(); } + + disableMouseScrolling(); + lock = false; } diff --git a/companion/src/modeledit/telemetry.cpp b/companion/src/modeledit/telemetry.cpp index 2b2c8c7c4..46f9cf942 100644 --- a/companion/src/modeledit/telemetry.cpp +++ b/companion/src/modeledit/telemetry.cpp @@ -50,6 +50,8 @@ TelemetryAnalog::TelemetryAnalog(QWidget *parent, FrSkyChannelData & analog, Mod else { ui->label_Max->setText(tr("Range")); } + + disableMouseScrolling(); } void TelemetryAnalog::update() @@ -324,6 +326,8 @@ TelemetryCustomScreen::TelemetryCustomScreen(QWidget *parent, ModelData & model, ui->screenBarsLayout->addWidget(maxSB[l], l, 3, 1, 1); } + disableMouseScrolling(); + update(); } @@ -516,6 +520,8 @@ TelemetryPanel::TelemetryPanel(QWidget *parent, ModelData & model, GeneralSettin ui->bladesCount->setMaximum(128); } + disableMouseScrolling(); + setup(); }