mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08:29:15 +01:00
Merged in m_thread/librepilot/thread/LP-249_Bug_fix (pull request #188)
LP-249 Fixed bug.
This commit is contained in:
commit
f4b3b89953
@ -198,8 +198,9 @@ ConfigInputWidget::ConfigInputWidget(QWidget *parent) :
|
||||
ui->stackedWidget->setCurrentIndex(0);
|
||||
QList<QWidget*> widgets = QList<QWidget*>() << ui->fmsModePos1 << ui->fmsModePos2 << ui->fmsModePos3 <<
|
||||
ui->fmsModePos4 << ui->fmsModePos5 << ui->fmsModePos6;
|
||||
index = 0;
|
||||
foreach(QWidget* widget, widgets) {
|
||||
addWidgetBinding("FlightModeSettings", "FlightModePosition", widget, 0, 1, true);
|
||||
addWidgetBinding("FlightModeSettings", "FlightModePosition", widget, index++, 1, true);
|
||||
}
|
||||
|
||||
addWidgetBinding("FlightModeSettings", "Stabilization1Settings", ui->fmsSsPos1Roll, "Roll", 1, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user