mirror of https://github.com/f4exb/sdrangel.git
Server: remove save preset for device set #0 on working preset. As server starts with no device sets this is useless
This commit is contained in:
parent
761fc2cb3a
commit
836b58c6ad
|
@ -91,10 +91,6 @@ bool MainCore::handleMessage(const Message& cmd)
|
||||||
{
|
{
|
||||||
while (m_deviceSets.size() > 0)
|
while (m_deviceSets.size() > 0)
|
||||||
{
|
{
|
||||||
if (m_deviceSets.size() == 1) { // save the first device set settings as the working preset
|
|
||||||
savePresetSettings(m_settings.getWorkingPreset(), 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
removeLastDevice();
|
removeLastDevice();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue