Server: remove save preset for device set #0 on working preset. As server starts with no device sets this is useless

pull/127/head
f4exb 2017-12-20 15:03:28 +01:00
rodzic 761fc2cb3a
commit 836b58c6ad
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -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();
}