Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47382 - in /trunk/qt: package/yast2-qt.changes src/YQSelectionBox.cc
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Thu, 08 May 2008 15:34:31 -0000
  • Message-id: <20080508153431.D98A92DD5F@xxxxxxxxxxxxxxxx>
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@xxxxxxx
+
+- automatically scroll to selected item of YQSelectionBox (bnc #388173)
+
+-------------------------------------------------------------------
Thu May 8 16:23:05 CEST 2008 - tgoettlicher@xxxxxxx

- 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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages