From 47277f94b6061a18f89e1bd8f08969cb4c48bc20 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 13 Feb 2023 22:41:42 +0100 Subject: [PATCH] Fixed an issue where there was a theme loading error message if the 'all' badge slot type was used. --- es-core/src/components/BadgeComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/BadgeComponent.cpp b/es-core/src/components/BadgeComponent.cpp index 441b9f332..9b5f25556 100644 --- a/es-core/src/components/BadgeComponent.cpp +++ b/es-core/src/components/BadgeComponent.cpp @@ -476,7 +476,7 @@ void BadgeComponent::applyTheme(const std::shared_ptr& theme, } mFlexboxItems.emplace_back(std::move(item)); } - else { + else if (slot != "all") { LOG(LogError) << "Invalid badge slot \"" << slot << "\" defined"; } }