From 939b9c98d189e0f5ba7d39daefbb03d26d156bd0 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Wed, 14 Sep 2016 22:57:28 +0200 Subject: [PATCH] LP-245 config: switching vehicle type would not raise the dirty flag --- ground/gcs/src/plugins/config/configvehicletypewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ground/gcs/src/plugins/config/configvehicletypewidget.cpp b/ground/gcs/src/plugins/config/configvehicletypewidget.cpp index 4a7858c00..815f274d8 100644 --- a/ground/gcs/src/plugins/config/configvehicletypewidget.cpp +++ b/ground/gcs/src/plugins/config/configvehicletypewidget.cpp @@ -168,6 +168,7 @@ ConfigVehicleTypeWidget::~ConfigVehicleTypeWidget() void ConfigVehicleTypeWidget::switchAirframeType(int index) { m_aircraft->airframesWidget->setCurrentWidget(getVehicleConfigWidget(index)); + setDirty(true); } /**