* For popup, trim both whitespace and punctuation for the input word.

This commit is contained in:
Konstantin Isakov 2009-04-09 23:33:37 +00:00
parent 94570b5430
commit 118034beb8

View file

@ -136,7 +136,7 @@ void ScanPopup::handleInputWord( QString const & str )
!checkModifiersPressed( cfg.preferences.scanPopupModifiers ) )
return;
inputWord = str.trimmed();
inputWord = QString::fromStdWString( Folding::trimWhitespaceOrPunct( str.toStdWString() ) );
if ( !inputWord.size() )
return;