Revision: 6873
Author: nogu.dev
Date: Wed Dec 29 21:39:15 2010
Log: * qt4/immodule/candidatewindow.cpp
- (CandidateWindow::updateView): Clear selected item
before new items are set. This commit makes sure that all the items are
deselected when an input prediction window is shown.
http://code.google.com/p/uim/source/detail?r=6873
Modified:
/trunk/qt4/immodule/candidatewindow.cpp
=======================================
--- /trunk/qt4/immodule/candidatewindow.cpp Sun Jun 27 02:38:55 2010
+++ /trunk/qt4/immodule/candidatewindow.cpp Wed Dec 29 21:39:15 2010
@@ -100,6 +100,7 @@
void CandidateWindow::updateView( int newpage, int ncandidates )
{
+ cList->clearSelection();
cList->setRowCount( ncandidates );
for ( int i = 0; i < ncandidates ; i++ )
{