Merge pull request #568 from opentx/romolo/customizable_toolbars
Romolo/customizable toolbars
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "mixes.h"
|
||||
#include "channels.h"
|
||||
#include "curves.h"
|
||||
#include "../helpers.h"
|
||||
#include "customswitches.h"
|
||||
#include "customfunctions.h"
|
||||
#include "telemetry.h"
|
||||
@@ -22,6 +23,9 @@ ModelEdit::ModelEdit(RadioData & radioData, int modelId, bool openWizard, bool i
|
||||
ui->setupUi(this);
|
||||
QSettings settings("companion", "companion");
|
||||
restoreGeometry(settings.value("modelEditGeometry").toByteArray());
|
||||
QIcon SimulateIcon;
|
||||
populate_icon(&SimulateIcon,"simulate.png");
|
||||
ui->pushButton->setIcon(SimulateIcon);
|
||||
addTab(new Setup(this, model), tr("Setup"));
|
||||
addTab(new HeliPanel(this, model), tr("Heli"));
|
||||
addTab(new FlightModes(this, model, radioData.generalSettings), tr("Flight Modes"));
|
||||
|
||||
Reference in New Issue
Block a user