Improve multiline text selection, closes #507

This commit is contained in:
Eduardo Bart
2015-06-03 10:51:26 -03:00
parent 6893a5e98a
commit 0c1540e531
3 changed files with 76 additions and 70 deletions

View File

@@ -659,7 +659,7 @@ void UITextEdit::onFocusChange(bool focused, Fw::FocusReason reason)
else
blinkCursor();
update(true);
} else
} else if(m_selectable)
clearSelection();
UIWidget::onFocusChange(focused, reason);
}