From 1ac706afb3e1128cc601031f282e3d125c0ec3f9 Mon Sep 17 00:00:00 2001 From: Israel Eduardo Lugo Date: Sun, 30 Jul 2023 20:44:21 +0200 Subject: [PATCH] Fix gestures always loading as disabled The gestures checkbox doesn't initialise correctly from the config file. It always loads as off, regardless of the saved config. That means the gestures functionality will be disabled in the tablet. The fix is actually just correcting a simple typo. --- wacom-gui/pad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wacom-gui/pad.py b/wacom-gui/pad.py index 7b0780d..c8b141a 100644 --- a/wacom-gui/pad.py +++ b/wacom-gui/pad.py @@ -301,7 +301,7 @@ def init(self, dev_id, settings): self.gesture.setEnabled(True) self.gesture.setChecked(False) if 'gesture' in settings.keys() and settings['gesture'] == 'on' and self.gesture.isEnabled(): - self.touch.setChecked(True) + self.gesture.setChecked(True) if 'taptime' in settings.keys(): self.taptime = WacomAttribSlider(self.dev_id, 'taptime', 250, "Double Tap Time (ms)", 0, 500, 25, int(settings['taptime']))