disable shortcut on conflict

previously old value was kept
This commit is contained in:
Basile Burg 2015-05-14 05:34:02 +02:00
parent 476ee10dc2
commit dfe19b786b
1 changed files with 2 additions and 0 deletions

View File

@ -453,6 +453,8 @@ begin
// try to find, if not match cur action, set to 0
kst.ShortCut := shc.shortcut;
except
kst.ShortCut := 0;
shc.shortcut := 0;
// TODO-cfeaure: manage shortcuts conflicts
// either here or in the shortcut editor.
// by default and if a conflict exists synedit will raise an exception here.