(TextInput) Emits text modified signal when cut or paste performed 70/27270/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Tue, 9 Sep 2014 12:21:52 +0000 (13:21 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Tue, 9 Sep 2014 13:40:07 +0000 (14:40 +0100)
Change-Id: I26c66de44674bdab008d8f4d767eacb4aab74417
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
base/dali-toolkit/internal/controls/text-input/text-input-impl.cpp

index 44c5aaf..4d52116 100644 (file)
@@ -2635,6 +2635,8 @@ void TextInput::DeleteHighlightedText( bool inheritStyle )
 
     RemoveHighlight();
 
+    EmitTextModified();
+
     if( inheritStyle )
     {
       const TextStyle oldInputStyle( mInputStyle );
@@ -4802,6 +4804,7 @@ void TextInput::PasteText( const Text& text )
   if( update )
   {
     CursorUpdate();
+    EmitTextModified();
   }
 
   if( insertedStringLength < text.GetLength() )