mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
refs #745, get temp. livery from web services
This commit is contained in:
@@ -199,7 +199,7 @@ namespace BlackGui
|
||||
void CLiveryForm::ps_setTemporaryLivery()
|
||||
{
|
||||
if (!sGui || !sGui->hasWebDataServices()) { return; }
|
||||
const CLivery l = sGui->getWebDataServices()->getLiveryForCombinedCode(CLivery::tempLiveryCode());
|
||||
const CLivery l = sGui->getWebDataServices()->getTempLiveryOrDefault();
|
||||
if (l.isLoadedFromDb())
|
||||
{
|
||||
this->setValue(l);
|
||||
|
||||
Reference in New Issue
Block a user