1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

HITL segv fix

This commit is contained in:
abeck70 2015-05-22 21:26:20 +10:00
parent 70586be231
commit 42b1e12646

View File

@ -44,7 +44,7 @@ UAVGadgetDecorator::UAVGadgetDecorator(IUAVGadget *gadget, QList<IUAVGadgetConfi
m_toolbar->setMinimumContentsLength(15);
foreach(IUAVGadgetConfiguration * config, *m_configurations)
m_toolbar->addItem(config->name());
connect(m_toolbar, SIGNAL(currentIndexChanged(int)), this, SLOT(loadConfiguration(int)));
connect(m_toolbar, SIGNAL(activated(int)), this, SLOT(loadConfiguration(int)));
updateToolbar();
}