Commit 12cdc471 authored by Lorenz Meier's avatar Lorenz Meier

Minor system switch issue resolved

parent 25f5a5e8
...@@ -105,6 +105,7 @@ void QGCVehicleConfig::setActiveUAS(UASInterface* active) ...@@ -105,6 +105,7 @@ void QGCVehicleConfig::setActiveUAS(UASInterface* active)
{ {
delete tool; delete tool;
} }
toolWidgets.clear();
} }
// Reset current state // Reset current state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment