mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
c7b90ae439
commit
19c9a51c38
@@ -126,7 +126,7 @@ namespace BlackGui
|
||||
if (sGui && sGui->supportsContexts() && sGui->getIContextSimulator())
|
||||
{
|
||||
const CSimulatorPluginInfo pluginInfo = sGui->getIContextSimulator()->getSimulatorPluginInfo();
|
||||
if (!this->isSingleSelection()) { this->setMode(RadioButtons); }
|
||||
if (!this->isSingleSelection()) { this->setMode(RadioButtons); } // only one sim can be connected
|
||||
|
||||
if (pluginInfo.isValid())
|
||||
{
|
||||
@@ -319,12 +319,14 @@ namespace BlackGui
|
||||
if (this->isSingleSelection())
|
||||
{
|
||||
// single
|
||||
m_currentSimulator.set(this->getValue());
|
||||
const CSimulatorInfo sim = this->getValue();
|
||||
m_currentSimulator.set(sim);
|
||||
}
|
||||
else
|
||||
{
|
||||
// multiple
|
||||
m_currentSimulators.set(this->getValue());
|
||||
const CSimulatorInfo sim = this->getValue();
|
||||
m_currentSimulators.set(sim);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user