Merge "Fix for text's popup." into devel/master
authorPaul Wisbey <p.wisbey@samsung.com>
Tue, 26 Jan 2016 14:33:58 +0000 (06:33 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 26 Jan 2016 14:33:58 +0000 (06:33 -0800)
dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp

index c19b920..61388ac 100644 (file)
@@ -355,7 +355,8 @@ void TextSelectionPopup::RaiseAbove( Layer target )
 
 void TextSelectionPopup::ShowPopup()
 {
-  if ( !mPopupShowing || mButtonsChanged )
+  if( ( !mPopupShowing || mButtonsChanged ) &&
+      ( Toolkit::TextSelectionPopup::NONE != mEnabledButtons ) )
   {
     Actor self = Self();
     AddPopupOptionsToToolbar( mShowIcons, mShowCaptions );