From a88fb32b59ccbb22a48f6cc96196c73e732c411d Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 11 May 2018 10:51:29 +0100 Subject: [PATCH] Projucer: Added a missing .get() to LabelHandler --- .../Source/ComponentEditor/Components/jucer_LabelHandler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/Projucer/Source/ComponentEditor/Components/jucer_LabelHandler.h b/extras/Projucer/Source/ComponentEditor/Components/jucer_LabelHandler.h index 2bfc6bde3f..50872603a6 100644 --- a/extras/Projucer/Source/ComponentEditor/Components/jucer_LabelHandler.h +++ b/extras/Projucer/Source/ComponentEditor/Components/jucer_LabelHandler.h @@ -168,8 +168,8 @@ public: const String userCodeComment ("UserLabelCode_" + memberVariableName); callback - << "if (labelThatHasChanged == " << memberVariableName - << ")\n{\n //[" << userCodeComment << "] -- add your label text handling code here..\n //[/" << userCodeComment << "]\n}\n"; + << "if (labelThatHasChanged == " << memberVariableName << ".get())\n" + << "{\n //[" << userCodeComment << "] -- add your label text handling code here..\n //[/" << userCodeComment << "]\n}\n"; } }