mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Let CInputManager select only action hotkeys applicable to local machine
So far, CInputManager did not properly ignore action hotkey settings which did not belong to the local machine. refs #881
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9749bb5d31
commit
0c8f2f596e
@@ -72,6 +72,7 @@ namespace BlackCore
|
|||||||
m_configuredActions.clear();
|
m_configuredActions.clear();
|
||||||
for (CActionHotkey actionHotkey : m_actionHotkeys.getThreadLocal())
|
for (CActionHotkey actionHotkey : m_actionHotkeys.getThreadLocal())
|
||||||
{
|
{
|
||||||
|
if (!actionHotkey.getApplicableMachine().isFromLocalMachine()) { continue; }
|
||||||
CHotkeyCombination combination = actionHotkey.getCombination();
|
CHotkeyCombination combination = actionHotkey.getCombination();
|
||||||
if (combination.isEmpty()) continue;
|
if (combination.isEmpty()) continue;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user