mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Update editor data when stashed data are modified (e.g. by drag and drop)
This issue was discovered during testing for #640
This commit is contained in:
@@ -67,9 +67,9 @@ namespace BlackGui
|
||||
return this->ui->editor_AirlineIcao->getValue();
|
||||
}
|
||||
|
||||
void CLiveryForm::setValue(const CLivery &livery)
|
||||
bool CLiveryForm::setValue(const CLivery &livery)
|
||||
{
|
||||
if (this->m_originalLivery == livery) { return; }
|
||||
if (this->m_originalLivery == livery) { return false; }
|
||||
|
||||
this->m_originalLivery = livery;
|
||||
this->ui->comp_LiverySelector->setLivery(livery);
|
||||
@@ -88,6 +88,7 @@ namespace BlackGui
|
||||
{
|
||||
this->ui->editor_AirlineIcao->setValue(livery.getAirlineIcaoCode());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
CStatusMessageList CLiveryForm::validate(bool withNestedForms) const
|
||||
|
||||
Reference in New Issue
Block a user