mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #577, allow to assign editor values to a bunch of models by context menu
This commit is contained in:
@@ -59,6 +59,11 @@ namespace BlackGui
|
||||
return livery;
|
||||
}
|
||||
|
||||
CAirlineIcaoCode CLiveryForm::getValueAirlineIcao() const
|
||||
{
|
||||
return this->ui->editor_AirlineIcao->getValue();
|
||||
}
|
||||
|
||||
void CLiveryForm::setValue(const CLivery &livery)
|
||||
{
|
||||
this->ui->livery_Selector->setLivery(livery);
|
||||
@@ -88,6 +93,11 @@ namespace BlackGui
|
||||
return msgs;
|
||||
}
|
||||
|
||||
CStatusMessageList CLiveryForm::validateAirlineIcao() const
|
||||
{
|
||||
return this->ui->editor_AirlineIcao->validate();
|
||||
}
|
||||
|
||||
void CLiveryForm::allowDrop(bool allowDrop)
|
||||
{
|
||||
this->ui->drop_DropData->allowDrop(allowDrop);
|
||||
|
||||
Reference in New Issue
Block a user