mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Fix from merging the UAV Trail option
This commit is contained in:
parent
f5b2575c88
commit
d54970a58a
@ -1803,15 +1803,6 @@ void OPMapGadgetWidget::onShowHomeAct_toggled(bool show)
|
||||
m_map->Home->setVisible(show);
|
||||
}
|
||||
|
||||
void OPMapGadgetWidget::onShowUAVAct_toggled(bool show)
|
||||
{
|
||||
if (!m_widget || !m_map)
|
||||
return;
|
||||
|
||||
m_map->UAV->setVisible(show);
|
||||
m_map->GPS->setVisible(show);
|
||||
}
|
||||
|
||||
void OPMapGadgetWidget::onShowTrailAct_toggled(bool show)
|
||||
{
|
||||
if (!m_widget || !m_map)
|
||||
@ -1940,7 +1931,7 @@ void OPMapGadgetWidget::onShowUAVAct_toggled(bool show)
|
||||
|
||||
void OPMapGadgetWidget::onShowUAVtrailAct_toggled(bool show)
|
||||
{
|
||||
if (!m_widget || !m_map || !action)
|
||||
if (!m_widget || !m_map)
|
||||
return;
|
||||
|
||||
m_map->UAV->SetShowTrail(show);
|
||||
|
@ -220,13 +220,12 @@ private slots:
|
||||
void onMaxUpdateRateActGroup_triggered(QAction *action);
|
||||
|
||||
/*UAV*/
|
||||
void onShowTrailAct_toggled(bool show);
|
||||
void onShowTrailLineAct_toggled(bool);
|
||||
void onShowUAVAct_toggled(bool show);
|
||||
void onShowUAVtrailLineAct_toggled(bool show);
|
||||
void onShowUAVtrailAct_toggled(bool show);
|
||||
void onClearUAVtrailAct_triggered();
|
||||
void onUAVTrailTimeActGroup_triggered(QAction *action);
|
||||
void onUAVTrailDistanceActGroup_triggered(QAction *action);
|
||||
void onMaxUpdateRateActGroup_triggered(QAction *action);
|
||||
void onUAVtrailTimeActGroup_triggered(QAction *action);
|
||||
void onUAVtrailDistanceActGroup_triggered(QAction *action);
|
||||
void onUAVtrailTypeActGroup_triggered(QAction *action);
|
||||
|
Loading…
Reference in New Issue
Block a user