mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1660 Changes from review
This commit is contained in:
parent
90e4e9276e
commit
45c96f3378
@ -1681,7 +1681,7 @@ void ConfigInputWidget::adjustSpecialNeutrals()
|
||||
bool ConfigInputWidget::shouldObjectBeSaved(UAVObject *object)
|
||||
{
|
||||
// ManualControlCommand no need to be saved
|
||||
return dynamic_cast<ManualControlCommand *>(object) == 0;
|
||||
return dynamic_cast<ManualControlCommand *>(object) == NULL;
|
||||
}
|
||||
|
||||
void ConfigInputWidget::resetChannelSettings()
|
||||
|
@ -66,7 +66,6 @@ public:
|
||||
goToWizard();
|
||||
}
|
||||
void enableControls(bool enable);
|
||||
|
||||
bool shouldObjectBeSaved(UAVObject *object);
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user