From 836b58c6ad228a52fa2f4ddbe067a4cebf9d6096 Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 20 Dec 2017 15:03:28 +0100 Subject: [PATCH] Server: remove save preset for device set #0 on working preset. As server starts with no device sets this is useless --- sdrsrv/maincore.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdrsrv/maincore.cpp b/sdrsrv/maincore.cpp index 1247bcb4a..102782177 100644 --- a/sdrsrv/maincore.cpp +++ b/sdrsrv/maincore.cpp @@ -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(); }