author | brad <brad> | 2004-07-03 07:07:40 (UTC) |
---|---|---|
committer | brad <brad> | 2004-07-03 07:07:40 (UTC) |
commit | 88c9b1b2bbc64bae352eb7ddb7eabf9fbaca416d (patch) (side-by-side diff) | |
tree | b2f5bf2b2bf4ab8638708c6e2228e6c3f9fe83e7 /inputmethods | |
parent | 0b0cc8ff22fdae62b8f40dc2a77a4de9a6fd0cb6 (diff) | |
download | opie-88c9b1b2bbc64bae352eb7ddb7eabf9fbaca416d.zip opie-88c9b1b2bbc64bae352eb7ddb7eabf9fbaca416d.tar.gz opie-88c9b1b2bbc64bae352eb7ddb7eabf9fbaca416d.tar.bz2 |
Don't display hidden sets in trainer.
-rw-r--r-- | inputmethods/handwriting/qimpenhelp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inputmethods/handwriting/qimpenhelp.cpp b/inputmethods/handwriting/qimpenhelp.cpp index 0727931..d0ccd55 100644 --- a/inputmethods/handwriting/qimpenhelp.cpp +++ b/inputmethods/handwriting/qimpenhelp.cpp @@ -141,13 +141,14 @@ HandwritingTrainer::HandwritingTrainer( QIMPenProfile *p, QWidget *parent, const charSetCombo = new QComboBox( this ); gl->addMultiCellWidget( charSetCombo, 0, 0, 0, 1 ); connect( charSetCombo, SIGNAL(activated(int)), SLOT(selectCharSet(int))); QIMPenCharSetIterator it( profile->charSets() ); for ( ; it.current(); ++it ) { - charSetCombo->insertItem( it.current()->description() ); + if ( ! it.current()->hidden() ) + charSetCombo->insertItem( it.current()->description() ); } charList = new QListBox( this ); charList->setHScrollBarMode( QListBox::AlwaysOff ); charList->setFixedWidth(80); connect( charList, SIGNAL(highlighted(int)), this, SLOT(selectChar(int)) ); |