Author: tgoettlicher Date: Tue May 13 15:54:42 2008 New Revision: 47491 URL: http://svn.opensuse.org/viewcvs/yast?rev=47491&view=rev Log: Fixed setText of YQComboBox (bnc #384713) Modified: trunk/qt/package/yast2-qt.changes trunk/qt/src/YQComboBox.cc Modified: trunk/qt/package/yast2-qt.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=4... ============================================================================== --- trunk/qt/package/yast2-qt.changes (original) +++ trunk/qt/package/yast2-qt.changes Tue May 13 15:54:42 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue May 13 15:53:53 CEST 2008 - tgoettlicher@suse.de + +- Fixed setText of YQComboBox (bnc #384713) + +------------------------------------------------------------------- Thu May 8 17:33:16 CEST 2008 - tgoettlicher@suse.de - automatically scroll to selected item of YQSelectionBox (bnc #388173) Modified: trunk/qt/src/YQComboBox.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQComboBox.cc?rev=47491&am... ============================================================================== --- trunk/qt/src/YQComboBox.cc (original) +++ trunk/qt/src/YQComboBox.cc Tue May 13 15:54:42 2008 @@ -96,7 +96,7 @@ YQSignalBlocker sigBlocker( _qt_comboBox ); int index = _qt_comboBox->findText( text ); if ( index < 0 ) - _qt_comboBox->setItemText(_qt_comboBox->currentIndex(), text ); + _qt_comboBox->setEditText( text ); else { _qt_comboBox->setCurrentIndex( index ); _qt_comboBox->setItemText(index, text ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org