From ba4ec954ec51ca02b9f7e7128ce2536581537680 Mon Sep 17 00:00:00 2001 From: Agnelo Vaz Date: Mon, 5 Dec 2016 18:54:24 +0000 Subject: [PATCH] Text Selection popup to use Enums not string for Text Change-Id: I5053551ce95087cb212a9610f72eee8aab817c73 --- .../internal/controls/text-controls/text-selection-popup-impl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp index e82d82d..c91f71d 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp @@ -34,6 +34,8 @@ #include #include #include +#include +#include namespace Dali { @@ -709,7 +711,7 @@ std::string TextSelectionPopup::GetPressedImage() const // Label properties. Property::Map buttonLabelProperties; - buttonLabelProperties.Insert( "text", button.caption ); + buttonLabelProperties.Insert( Toolkit::TextVisual::Property::TEXT, button.caption ); option.SetProperty( Toolkit::Button::Property::LABEL, buttonLabelProperties ); } if( showIcons ) -- 2.7.4