src/hbwidgets/editors/hblineedit.cpp
changeset 3 11d3954df52a
parent 2 06ff229162e9
child 6 c3690ec91ef8
--- a/src/hbwidgets/editors/hblineedit.cpp	Fri May 14 16:09:54 2010 +0300
+++ b/src/hbwidgets/editors/hblineedit.cpp	Thu May 27 13:10:59 2010 +0300
@@ -594,7 +594,14 @@
  */
 bool HbLineEdit::canInsertFromMimeData(const QMimeData *source) const
 {
-    return source->hasText() && !source->text().isEmpty();
+    Q_D(const HbLineEdit);
+    if(source->hasText() && !source->text().isEmpty()) {
+        QString text(source->text());
+        d->filterInputText(text);
+        return !text.isEmpty();
+    } else {
+        return false;
+    }
 }
 
 /*!