mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T515, context menus for re-matching
* added re-matching for single aircraft * re-ordered
This commit is contained in:
committed by
Mat Sutcliffe
parent
a90d4465a2
commit
a0c8f3778b
@@ -57,7 +57,7 @@ namespace BlackGui
|
||||
this->tabBar()->setUsesScrollButtons(true);
|
||||
ui->tvp_AirportsInRange->setResizeMode(CAirportView::ResizingOnce);
|
||||
ui->tvp_AircraftInRange->setAircraftMode(CSimulatedAircraftListModel::NetworkMode);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, false, true, true);
|
||||
ui->tvp_AircraftInRange->configureMenu(true, true, false, true, true);
|
||||
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::modelDataChangedDigest, this, &CAircraftComponent::onRowCountChanged);
|
||||
connect(ui->tvp_AircraftInRange, &CSimulatedAircraftView::requestTextMessageWidget, this, &CAircraftComponent::requestTextMessageWidget);
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user