From 999931f8a70995c7b75ac6c0bd8116e2e811e747 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Fri, 31 Oct 2014 20:46:58 +0100 Subject: [PATCH] correctly init argument list for fgfs on connection --- src/comm/QGCFlightGearLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/QGCFlightGearLink.cc b/src/comm/QGCFlightGearLink.cc index 9bc8a7aa2..860202069 100644 --- a/src/comm/QGCFlightGearLink.cc +++ b/src/comm/QGCFlightGearLink.cc @@ -758,7 +758,7 @@ bool QGCFlightGearLink::connectSimulation() #ifdef DEBUG_FLIGHTGEAR_CONNECT qDebug() << "\nSplit arguments" << uiArgList << "\n"; #endif - _fgArgList += uiArgList; + _fgArgList = uiArgList; // If we have an --fg-root coming in from the ui options, that setting overrides any internal searching of // proposed locations. -- 2.22.0