mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
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:
@@ -108,6 +108,7 @@ namespace BlackGui
|
|||||||
QString s(
|
QString s(
|
||||||
getIContextSimulator()->getSimulatorPluginInfo().getDescription() + ": " +
|
getIContextSimulator()->getSimulatorPluginInfo().getDescription() + ": " +
|
||||||
ISimulator::statusToString(status));
|
ISimulator::statusToString(status));
|
||||||
|
|
||||||
// at least connected
|
// at least connected
|
||||||
if (status & ISimulator::Paused)
|
if (status & ISimulator::Paused)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -254,8 +254,8 @@ namespace BlackGui
|
|||||||
// disable / enable driver specific GUI parts
|
// disable / enable driver specific GUI parts
|
||||||
bool hasFsxDriver = this->getIContextSimulator()->getAvailableSimulatorPlugins().supportsSimulator(QStringLiteral("fsx"));
|
bool hasFsxDriver = this->getIContextSimulator()->getAvailableSimulatorPlugins().supportsSimulator(QStringLiteral("fsx"));
|
||||||
|
|
||||||
// combobox
|
// I intentionally to not set the selected plugin combobox here
|
||||||
setCurrentPluginInComboBox(info);
|
// as this would cause undesired rountrips
|
||||||
|
|
||||||
// other GUI values
|
// other GUI values
|
||||||
if (!info.isUnspecified())
|
if (!info.isUnspecified())
|
||||||
|
|||||||
Reference in New Issue
Block a user