From kde-commits Thu Dec 05 20:26:33 2002 From: Hans Petter Bieker Date: Thu, 05 Dec 2002 20:26:33 +0000 To: kde-commits Subject: kdebase/kcontrol/locale X-MARC-Message: https://marc.info/?l=kde-commits&m=103912009815936 CVS commit by bieker: Clear should not change the text if it's not in combobox mode. M +5 -2 klanguagebutton.cpp 1.9 --- kdebase/kcontrol/locale/klanguagebutton.cpp:1.8 Thu Dec 5 19:38:50 2002 @@ -209,8 +209,11 @@ connect( m_popup, SIGNAL( highlighted( int ) ), SLOT( slotHighlighted( int ) ) ); - d->button->setText( QString::null ); - d->button->setIconSet( QIconSet() ); + if ( !d->staticText ) + { + d->button->setText( QString::null ); + d->button->setIconSet( QIconSet() ); + } } bool KLanguageButton::contains( const QString & id ) const