From c490f95a0cb81ef9b2a0c6b0bd58493966a9b658 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sun, 21 May 2023 16:33:37 -0700 Subject: [PATCH] chore: add changelog and docs --- v2/internal/frontend/desktop/linux/keys.go | 1 + website/src/pages/changelog.mdx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/v2/internal/frontend/desktop/linux/keys.go b/v2/internal/frontend/desktop/linux/keys.go index 09beb1fb17f..22fd81293e7 100644 --- a/v2/internal/frontend/desktop/linux/keys.go +++ b/v2/internal/frontend/desktop/linux/keys.go @@ -81,6 +81,7 @@ func parseKey(key string) C.guint { return result } // Check for unknown namedkeys + // Check if we only have a single character if len(key) > 1 || len(key) == 0 { return C.guint(0) } diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index f08a679da8d..2d3b441e75c 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Avoid app crashing when the Linux GTK key is empty by @aminya in [PR](https://github.com/wailsapp/wails/pull/2672) + ## [v2.5.1] - 2023-05-16 ### Breaking Changes