Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47380 - in /trunk/qt: package/yast2-qt.changes src/YQTable.cc
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Thu, 08 May 2008 14:25:52 -0000
  • Message-id: <20080508142552.D8F9F2DD54@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Thu May 8 16:25:52 2008
New Revision: 47380

URL: http://svn.opensuse.org/viewcvs/yast?rev=47380&view=rev
Log:
fixed strange selection behavior of YQTable (bnc #384658)

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=47380&r1=47379&r2=47380&view=diff
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Thu May 8 16:25:52 2008
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu May 8 16:23:05 CEST 2008 - tgoettlicher@xxxxxxx
+
+- fixed strange selection behavior of YQTable (bnc #384658)
+
+-------------------------------------------------------------------
Thu May 8 11:59:11 CEST 2008 - sh@xxxxxxx

- Don't let Qt override YSelectionBox selection

Modified: trunk/qt/src/YQTable.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQTable.cc?rev=47380&r1=47379&r2=47380&view=diff
==============================================================================
--- trunk/qt/src/YQTable.cc (original)
+++ trunk/qt/src/YQTable.cc Thu May 8 16:25:52 2008
@@ -113,6 +113,10 @@
clone->setSelected(true);
}

+ // If multiple items are selected YSelectionWidget::addItem()
+ // defines one single selected item. Use this selection in YQTable too.
+ if ( hasItems() && YSelectionWidget::hasSelectedItem() )
+ YQTable::selectItem( YSelectionWidget::selectedItem(), true );

// set alignment
for ( int i=0; i < columns(); i++ )

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

< Previous Next >
This Thread
  • No further messages