Skip to content

Commit

Permalink
Merge pull request #10 from abdel792/ar
Browse files Browse the repository at this point in the history
Fixed another issue with Arabic keyboard layout when copying a file or folder from Windows Explorer
  • Loading branch information
nvdaes authored Jun 12, 2019
2 parents af07980 + fd797e1 commit 53172f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addon/globalPlugins/clipContentsDesigner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ def copy(self):
if isinstance(treeInterceptor,treeInterceptorHandler.DocumentTreeInterceptor) and not treeInterceptor.passThrough:
treeInterceptor.script_copyToClipboard(None)
else:
KeyboardInputGesture.fromName("control+c").send()
keyName = "control+c" if not isArabicKeyboardLayout() else u"control+ؤ"
KeyboardInputGesture.fromName(keyName).send()

def confirmCopy(self):
text = self.getSelectedText()
Expand Down

0 comments on commit 53172f0

Please sign in to comment.