From 1600122b354a87963a3af7fdbd377cb66e899728 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Thu, 15 Feb 2024 15:40:40 +0100 Subject: [PATCH] try fix windows build, yuni string renewable --- .../datagrid/renderer/area/renewable.areasummary.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/simulator/toolbox/components/datagrid/renderer/area/renewable.areasummary.cpp b/src/ui/simulator/toolbox/components/datagrid/renderer/area/renewable.areasummary.cpp index 59ff293c0c..3bbe42393c 100644 --- a/src/ui/simulator/toolbox/components/datagrid/renderer/area/renewable.areasummary.cpp +++ b/src/ui/simulator/toolbox/components/datagrid/renderer/area/renewable.areasummary.cpp @@ -121,7 +121,9 @@ bool RenewableClusterSummarySingleArea::cellValue(int x, int y, const String& v) { case 0: { - if (cluster->group() != v) + std::string group = cluster->group().c_str(); + std::string v_string; + if (group != v_string) { cluster->setGroup(v); return true;