From e8a6a4eab088ac716cec91eff7b4ac2843c679f8 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Thu, 7 Jan 2021 13:02:01 -0500 Subject: [PATCH] firmware_flasher: re-lock keyboard after restoring layout --- src/main/python/firmware_flasher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/python/firmware_flasher.py b/src/main/python/firmware_flasher.py index 24deec8..08e3792 100644 --- a/src/main/python/firmware_flasher.py +++ b/src/main/python/firmware_flasher.py @@ -267,6 +267,7 @@ class FirmwareFlasher(BasicEditor): self.log("Restoring saved layout...") QCoreApplication.processEvents() found.keyboard.restore_layout(self.layout_restore) + found.keyboard.lock() found.close() self.log("Done!")