From 88c9b1b2bbc64bae352eb7ddb7eabf9fbaca416d Mon Sep 17 00:00:00 2001 From: brad Date: Sat, 03 Jul 2004 07:07:40 +0000 Subject: Don't display hidden sets in trainer. --- (limited to 'inputmethods/handwriting') 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 @@ -144,7 +144,8 @@ HandwritingTrainer::HandwritingTrainer( QIMPenProfile *p, QWidget *parent, const 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 ); -- cgit v0.9.0.2