1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

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:
f4exb 2017-12-20 15:03:28 +01:00
parent 761fc2cb3a
commit 836b58c6ad

View File

@ -91,10 +91,6 @@ bool MainCore::handleMessage(const Message& cmd)
{
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();
}