Merge pull request #7096 from symless/SYNERGY-1216-The-system-duplicates-hotkeys-in-setup

SYNERGY-1216 the system duplicates hotkeys in setup
This commit is contained in:
Andrey Batyiev 2021-09-27 18:50:30 +03:00 committed by GitHub
commit 7272042770
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ Bug fixes:
- #7089 Modifier keys don't work on Microsoft Remote Desktop - #7089 Modifier keys don't work on Microsoft Remote Desktop
- #7091 Fix CMakeFileList for unittests - #7091 Fix CMakeFileList for unittests
- #7092 Synergy is running after quit on Linux - #7092 Synergy is running after quit on Linux
- #7096 The system duplicates hotkeys in setup
Enhancements: Enhancements:
- #7068 Add Synergy restart when settings changed - #7068 Add Synergy restart when settings changed

View file

@ -111,6 +111,7 @@ void ServerConfig::init()
{ {
switchCorners().clear(); switchCorners().clear();
screens().clear(); screens().clear();
hotkeys().clear();
// m_NumSwitchCorners is used as a fixed size array. See Screen::init() // m_NumSwitchCorners is used as a fixed size array. See Screen::init()
for (int i = 0; i < NumSwitchCorners; i++) for (int i = 0; i < NumSwitchCorners; i++)