[orca] Fix a modifier false negative
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix a modifier false negative
- Date: Sun, 14 Feb 2016 19:30:00 +0000 (UTC)
commit 4f6c2351327c31c2ae0c33bf1ccaf758ef8f5fa1
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Feb 14 14:28:43 2016 -0500
Fix a modifier false negative
src/orca/script_utilities.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 99dfddc..42d2a2c 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3602,7 +3602,7 @@ class Utilities:
def lastInputEventWasDelete(self):
keyString, mods = self.lastKeyAndModifiers()
- if not mods and keyString == "Delete":
+ if keyString == "Delete":
return True
return mods & keybindings.CTRL_MODIFIER_MASK and keyString.lower() == 'd'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]