mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
OP-1331 uncrustified
This commit is contained in:
parent
846146ca80
commit
fe60509ffa
@ -84,6 +84,7 @@ void MyTabbedStackWidget::insertTab(const int index, QWidget *tab, const QIcon &
|
||||
{
|
||||
// create and insert item
|
||||
QListWidgetItem *item = new QListWidgetItem(icon, label);
|
||||
|
||||
item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
|
||||
item->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
||||
item->setToolTip(label);
|
||||
|
@ -165,6 +165,7 @@ void ConfigGadgetWidget::resizeEvent(QResizeEvent *event)
|
||||
void ConfigGadgetWidget::onAutopilotDisconnect()
|
||||
{
|
||||
QWidget *qwd = new DefaultAttitudeWidget(this);
|
||||
|
||||
stackWidget->replaceTab(ConfigGadgetWidget::sensors, qwd);
|
||||
|
||||
qwd = new DefaultHwSettingsWidget(this);
|
||||
|
Loading…
Reference in New Issue
Block a user