mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #614, renamed function and helper function
This commit is contained in:
@@ -70,7 +70,7 @@ namespace BlackGui
|
||||
|
||||
CStatusMessage CDbStashComponent::validateStashModel(const CAircraftModel &model, bool allowReplace) const
|
||||
{
|
||||
if (!allowReplace && this->ui->tvp_StashAircraftModels->container().containsModelStringOrId(model))
|
||||
if (!allowReplace && this->ui->tvp_StashAircraftModels->container().containsModelStringOrDbKey(model))
|
||||
{
|
||||
const QString msg("Model \"%1\" already stashed");
|
||||
return CStatusMessage(validationCategories(), CStatusMessage::SeverityError, msg.arg(model.getModelString()));
|
||||
|
||||
Reference in New Issue
Block a user