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:
Klaus Basan
2018-11-28 00:13:59 +01:00
parent 9f6cb9a72f
commit 0e5dc4e12a
3 changed files with 18 additions and 12 deletions

View File

@@ -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());
}