diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-24 20:58:32 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-24 20:58:32 +1000 |
commit | c127b503030636081e86cca6160d7046552691fd (patch) | |
tree | cacdc09242a1d2f91acd2db71056598b5f44ff5e /source/frontend/StarVoice.cpp | |
parent | 7b4ae7364703e7217044e705e42ebd356ffe8089 (diff) |
Fix discrepancy in voice saving
Diffstat (limited to 'source/frontend/StarVoice.cpp')
-rw-r--r-- | source/frontend/StarVoice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarVoice.cpp b/source/frontend/StarVoice.cpp index d72bc57..168d23b 100644 --- a/source/frontend/StarVoice.cpp +++ b/source/frontend/StarVoice.cpp @@ -225,8 +225,8 @@ void Voice::loadJson(Json const& config, bool skipSave) { Json Voice::saveJson() const { return JsonObject{ {"enabled", m_enabled}, + {"deviceName", m_deviceName ? *m_deviceName : Json()}, {"inputEnabled", m_inputEnabled}, - {"inputDevice", m_deviceName ? *m_deviceName : Json()}, {"threshold", m_threshold}, {"inputVolume", m_inputVolume}, {"outputVolume", m_outputVolume}, |