Skip to content

Commit

Permalink
Removed superfluous code
Browse files Browse the repository at this point in the history
control+c can be removed, not assign to None, since it's not in the plugin itself.
  • Loading branch information
nvdaes committed Sep 14, 2017
1 parent 3d8960a commit 44f60d0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions addon/installTasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ def onInstall():
module = "globalPlugins.clipContentsDesigner"
className = "GlobalPlugin"
scriptName = "copy"
# Borrowed from NVDA's core.
try:
inputCore.manager.userGestureMap.remove(gesture, module, className, None)
except ValueError:
pass
# Adapted from NVDA's core.
try:
inputCore.manager.userGestureMap.remove(gesture, module, className, scriptName)
except ValueError:
Expand Down

0 comments on commit 44f60d0

Please sign in to comment.