Ref T515, context menus for re-matching

* added re-matching for single aircraft
* re-ordered
This commit is contained in:
Klaus Basan
2019-01-17 12:48:34 +01:00
committed by Mat Sutcliffe
parent a90d4465a2
commit a0c8f3778b
6 changed files with 54 additions and 16 deletions

View File

@@ -315,8 +315,8 @@ namespace BlackGui
void CMappingComponent::doMatchingsAgain()
{
if (!sGui || !sGui->getIContextSimulator() || !sGui->getISimulator() || !sGui->getISimulator()->isConnected()) { return; }
const int reMatchedNo = sGui->getIContextSimulator()->doMatchingsAgain();
CLogMessage(this).info(u"Triggered re-apping of %1 aircraft") << reMatchedNo;
const int rematchedNumber = sGui->getIContextSimulator()->doMatchingsAgain();
CLogMessage(this).info(u"Triggered re-matching of %1 aircraft") << rematchedNumber;
}
void CMappingComponent::onSaveAircraft()