From e8c211d0f1b8a6213ab1ce6f1897c79626177fea Mon Sep 17 00:00:00 2001 From: Jimmy Christensen Date: Fri, 13 Dec 2024 17:54:27 +0100 Subject: [PATCH] [cuegui] Allow non-alphanumeric characters in limits (eg. _ and -) when editing layers (#1616) **Link the Issue(s) this Pull Request is related to.** Fixes #1565 **Summarize your change.** Removes the check for alphanumeric characters in limits when editing a layer in cuegui Co-authored-by: Diego Tavares --- cuegui/cuegui/LimitSelectionWidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuegui/cuegui/LimitSelectionWidget.py b/cuegui/cuegui/LimitSelectionWidget.py index a760d1b79..d7fd17eb7 100644 --- a/cuegui/cuegui/LimitSelectionWidget.py +++ b/cuegui/cuegui/LimitSelectionWidget.py @@ -63,4 +63,4 @@ def get_selected_limits(self): @rtype: list """ limit_names = [str(limit.text()) for limit in self.limits.checkedBoxes()] - return [limit.strip() for limit in limit_names if limit.strip().isalnum()] + return [limit.strip() for limit in limit_names if limit.strip()]