Small fix or issue#10: do not flush key events upon completion.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 05 Sep 2014 16:10:56 +0100
changeset 285 a5640bc14376
parent 284 344ac622d401
child 286 dc60bdb2fa92
Small fix or issue#10: do not flush key events upon completion.
SmallSense__CompletionController.st
--- a/SmallSense__CompletionController.st	Sun Aug 31 23:10:51 2014 +0100
+++ b/SmallSense__CompletionController.st	Fri Sep 05 16:10:56 2014 +0100
@@ -272,10 +272,11 @@
 !
 
 complete: item afterKeyPress: keyOrNil
-    self closeCompletionView.
-    editView sensor flushKeyboardFor: editView.  
-    item insert.
-    support keyPressIgnored.
+     self closeCompletionView.
+     item insert.
+     keyOrNil notNil ifTrue:[  
+         support keyPressIgnored.
+     ].
 
     "Created: / 11-08-2014 / 14:53:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !