mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsSelectAll, true );
}
- if ( !mStyledText.empty() )
+ if ( !mStyledText.empty() && IsTextSelected() )
{
mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsCopy, true );
mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsCut, true );
{
mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsSelectAll, true );
mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsSelect, true );
- mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsCut, showCutButton );
+ mPopupPanel.TogglePopupButtonOnOff( TextInputPopup::ButtonsCut, ( showCutButton && IsTextSelected() ) );
}
// if clipboard has valid contents then offer paste option
if( mClipboard && mClipboard.NumberOfItems() )
FocusManager::FocusManager()
: mIsWrapped(false),
mIsFocusWithinGroup(false),
- mIsEndcapFeedbackEnabled(true),
+ mIsEndcapFeedbackEnabled(false),
mIsEndcapFeedbackPlayed(false),
mCurrentFocusActor(FocusIDPair(0, 0)),
mFocusIndicatorActor(Actor()),