[yast-commit] r47382 - in /trunk/qt: package/yast2-qt.changes src/YQSelectionBox.cc
Author: tgoettlicher Date: Thu May 8 17:34:31 2008 New Revision: 47382 URL: http://svn.opensuse.org/viewcvs/yast?rev=47382&view=rev Log: automatically scroll to selected item of YQSelectionBox (bnc #388173) Modified: trunk/qt/package/yast2-qt.changes trunk/qt/src/YQSelectionBox.cc Modified: trunk/qt/package/yast2-qt.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=47382&r1=47381&r2=47382&view=diff ============================================================================== --- trunk/qt/package/yast2-qt.changes (original) +++ trunk/qt/package/yast2-qt.changes Thu May 8 17:34:31 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu May 8 17:33:16 CEST 2008 - tgoettlicher@suse.de + +- automatically scroll to selected item of YQSelectionBox (bnc #388173) + +------------------------------------------------------------------- Thu May 8 16:23:05 CEST 2008 - tgoettlicher@suse.de - fixed strange selection behavior of YQTable (bnc #384658) Modified: trunk/qt/src/YQSelectionBox.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQSelectionBox.cc?rev=47382&r1=47381&r2=47382&view=diff ============================================================================== --- trunk/qt/src/YQSelectionBox.cc (original) +++ trunk/qt/src/YQSelectionBox.cc Thu May 8 17:34:31 2008 @@ -126,6 +126,9 @@ YQSignalBlocker sigBlocker( _qt_listWidget ); _qt_listWidget->setCurrentItem( _qt_listWidget->item( item->index() ) ); } + + qt_listWidget->scrollToItem( _qt_listWidget->currentItem(), QAbstractItemView::EnsureVisible ); + } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn.opensuse.org