refs #438, do not change comboxbox from backend.

Use a field to display the really selected driver and let the user choice unchanged works best for me
This commit is contained in:
Klaus Basan
2015-06-04 18:37:59 +02:00
parent dbce887946
commit d706c85d87
2 changed files with 3 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ namespace BlackGui
QString s(
getIContextSimulator()->getSimulatorPluginInfo().getDescription() + ": " +
ISimulator::statusToString(status));
// at least connected
if (status & ISimulator::Paused)
{

View File

@@ -254,8 +254,8 @@ namespace BlackGui
// disable / enable driver specific GUI parts
bool hasFsxDriver = this->getIContextSimulator()->getAvailableSimulatorPlugins().supportsSimulator(QStringLiteral("fsx"));
// combobox
setCurrentPluginInComboBox(info);
// I intentionally to not set the selected plugin combobox here
// as this would cause undesired rountrips
// other GUI values
if (!info.isUnspecified())