mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
On login page, clear aircraft/airline fields if model is not from DB
* discussion https://swift-project.slack.com/archives/CCV74GESV/p1543344801126700 * emulated driver settings allow non DB model for testing * use "showOverlayHTMLMessage"
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <QCompleter>
|
||||
|
||||
using namespace BlackCore;
|
||||
using namespace BlackMisc::Simulation;
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
@@ -36,7 +37,7 @@ namespace BlackGui
|
||||
this->initCompleter();
|
||||
}
|
||||
|
||||
BlackMisc::Simulation::CAircraftModel CDbModelKeyCompleter::getAircraftModel() const
|
||||
CAircraftModel CDbModelKeyCompleter::getAircraftModel() const
|
||||
{
|
||||
return sGui->getWebDataServices()->getModelForModelString(this->text().toUpper().trimmed());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user