From 9cb907ec7d3ead13cc632b34a2ecba1b84333301 Mon Sep 17 00:00:00 2001 From: Jimmy Christensen Date: Thu, 12 Dec 2024 21:48:39 +0100 Subject: [PATCH] Allow non-alphanumric characters in limits (eg. _ and -) --- 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()]