Skip to content

Commit

Permalink
Fixed another issue with Arabic keyboard layout when copying a file o…
Browse files Browse the repository at this point in the history
…r folder from Windows Explorer reported by a user.
  • Loading branch information
abdel792 committed Jun 12, 2019
1 parent af07980 commit fd797e1
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 fd797e1

Please sign in to comment.