Author: sh-sh-sh
Date: Thu May 8 14:53:03 2008
New Revision: 47378
URL: http://svn.opensuse.org/viewcvs/yast?rev=47378&view=rev
Log:
Handle fringe case: No more events delivered in YQSelectionBox
after deselectAllItems() until any other widget's event is delivered
Modified:
trunk/qt/src/YQSelectionBox.cc
Modified: trunk/qt/src/YQSelectionBox.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQSelectionBox.cc?rev=47378&r1=47377&r2=47378&view=diff
==============================================================================
--- trunk/qt/src/YQSelectionBox.cc (original)
+++ trunk/qt/src/YQSelectionBox.cc Thu May 8 14:53:03 2008
@@ -320,14 +320,24 @@
void YQSelectionBox::returnImmediately()
{
- if ( ! YQUI::ui()->eventPendingFor( this ) )
+ if ( YQUI::ui()->eventPendingFor( this ) )
{
- // Avoid overwriting a (more important) Activated event with a
- // SelectionChanged event
+ YWidgetEvent * event = dynamic_cast