Revision: 6353
Author: nogu.dev
Date: Sat May 1 17:34:48 2010
Log: * qt4/immodule/candidatewindow.cpp
- (CandidateWindow::setPage): Set flags to a cell
even if no annotation text is available.
http://code.google.com/p/uim/source/detail?r=6353
Modified:
/trunk/qt4/immodule/candidatewindow.cpp
=======================================
--- /trunk/qt4/immodule/candidatewindow.cpp Wed Apr 28 18:24:41 2010
+++ /trunk/qt4/immodule/candidatewindow.cpp Sat May 1 17:34:48 2010
@@ -313,11 +313,12 @@
cList->setItem( i, HEADING_COLUMN, headItem );
cList->setItem( i, CANDIDATE_COLUMN, candItem );
- if ( hasAnnotation && !annotationString.isEmpty() ) {
+ if ( hasAnnotation ) {
QTableWidgetItem *annotationItem = new QTableWidgetItem;
- annotationItem->setText( "..." );
annotationItem->setFlags(
Qt::ItemIsSelectable | Qt::ItemIsEnabled );
+ if ( !annotationString.isEmpty() )
+ annotationItem->setText( "..." );
cList->setItem( i, ANNOTATION_COLUMN, annotationItem );
}