mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
#32 use remove/add to replace hotkey
possible workaround for "edited hotkey" not working
This commit is contained in:
committed by
Mat Sutcliffe
parent
7981815ddf
commit
637bae5bb6
@@ -66,8 +66,11 @@ namespace BlackMisc
|
||||
const CIdentifier comparison("comparison for local machine");
|
||||
for (CActionHotkey &actionHotkey : *this)
|
||||
{
|
||||
const bool sameMachine = actionHotkey.getIdentifier().hasSameMachineNameOrId(comparison);
|
||||
if (sameMachine) { actionHotkey.updateToCurrentMachine(); }
|
||||
// to avoid issue we always update
|
||||
actionHotkey.updateToCurrentMachine();
|
||||
|
||||
// const bool sameMachine = actionHotkey.getIdentifier().hasSameMachineNameOrId(comparison);
|
||||
// if (sameMachine) { actionHotkey.updateToCurrentMachine(); }
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user