summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/python2/thumb.py2
-rw-r--r--engine/python3/thumb.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/python2/thumb.py b/engine/python2/thumb.py
index faa0f78..afeefd7 100644
--- a/engine/python2/thumb.py
+++ b/engine/python2/thumb.py
@@ -453,7 +453,7 @@ class ThumbShiftKeyboard:
layout = 2
elif data.find('japan:') >= 0:
layout = 0
- return 0
+ return layout
def __reset_layout_and_handakuten(self):
mode = self.__prefs.get_value('thumb', 'keyboard_layout_mode')
diff --git a/engine/python3/thumb.py b/engine/python3/thumb.py
index 8ae785a..59c0e38 100644
--- a/engine/python3/thumb.py
+++ b/engine/python3/thumb.py
@@ -450,7 +450,7 @@ class ThumbShiftKeyboard:
layout = 2
elif data.find('japan:') >= 0:
layout = 0
- return 0
+ return layout
def __reset_layout_and_handakuten(self):
mode = self.__prefs.get_value('thumb', 'keyboard_layout_mode')