mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-1458 Restore to original input rate values when cancel is clicked
This commit is contained in:
parent
8614489467
commit
644d35fa41
@ -415,7 +415,10 @@ void ConfigInputWidget::disableWizardButton(int value)
|
||||
void ConfigInputWidget::wzCancel()
|
||||
{
|
||||
dimOtherControls(false);
|
||||
manualCommandObj->setMetadata(manualCommandObj->getDefaultMetadata());
|
||||
|
||||
// Restore original input update rate.
|
||||
restoreMdata();
|
||||
|
||||
ui->stackedWidget->setCurrentIndex(0);
|
||||
|
||||
if (wizardStep != wizardNone) {
|
||||
|
Loading…
Reference in New Issue
Block a user