Mailinglist Archive: yast-commit (1055 mails)

< Previous Next >
[yast-commit] r45956 - in /trunk/qt: package/yast2-qt.changes src/YQTable.cc
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Wed, 02 Apr 2008 09:47:26 -0000
  • Message-id: <20080402094726.9C663310F2@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Wed Apr 2 11:47:26 2008
New Revision: 45956

URL: http://svn.opensuse.org/viewcvs/yast?rev=45956&view=rev
Log:
fixed table widget sorting (bnc #376046)

Modified:
trunk/qt/package/yast2-qt.changes
trunk/qt/src/YQTable.cc

Modified: trunk/qt/package/yast2-qt.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=45956&r1=45955&r2=45956&view=diff
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Wed Apr 2 11:47:26 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Apr 2 11:46:12 CEST 2008 - tgoettlicher@xxxxxxx
+
+- fixed table widget sorting (bnc #376046)
+
+-------------------------------------------------------------------
Mon Mar 31 17:21:00 CEST 2008 - tgoettlicher@xxxxxxx

- fixed sort by column for table widget (bnc #374679)

Modified: trunk/qt/src/YQTable.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQTable.cc?rev=45956&r1=45955&r2=45956&view=diff
==============================================================================
--- trunk/qt/src/YQTable.cc (original)
+++ trunk/qt/src/YQTable.cc Wed Apr 2 11:47:26 2008
@@ -47,7 +47,7 @@
YUI_CHECK_NEW( _qt_listView );
layout->addWidget( _qt_listView );
_qt_listView->setAllColumnsShowFocus( true );
- _qt_listView->setSortingEnabled( true );
+ _qt_listView->setSortingEnabled( ! keepSorting() );


//
@@ -90,6 +90,7 @@
{
YTable::setKeepSorting( keepSorting );
_qt_listView->setSortByInsertionSequence( keepSorting );
+ _qt_listView->setSortingEnabled( ! keepSorting );
}



--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages