]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Fixed broken variable shortcuts. The participant was using kpe.stateMask != SHIFT_DOW...
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 2 Apr 2013 07:09:09 +0000 (07:09 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Tue, 2 Apr 2013 07:09:09 +0000 (07:09 +0000)
commit309c8b99e99e20da163ae89ffc3e0e2a9fe3bf5a
tree91c9ca2d7ce59a40b1a317c213fbd33097615a07
parent8ca6a02c6b91707da3589ff90cfb573218ecd6bd
Fixed broken variable shortcuts. The participant was using kpe.stateMask != SHIFT_DOWN_MASK, which did not work anymore, since SHIFT_MASK has also been added to stateMask. Switched to use !kpe.isShiftDown(). (fixes #4221)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27226 ac1ea38d-2e2b-0410-8846-a27921b304fc
org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/editor/participant/CreateVariablesShortcutParticipant.java