Bug 153445

Summary: card selection dialog chooses different decks itself
Product: [Frameworks and Libraries] libkdegames Reporter: Andreas Pakulat <apaku>
Component: generalAssignee: Andreas Beckermann <b_mann>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Pakulat 2007-12-04 20:36:03 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

When using the card-selection dialog and scrolling the one of the
listviews the first deck is chosen automatically. The same happens when
clicking on one of the scrollbars. Seems like as soon as the
deck-listview gets focus it sets a selection.

Also I noticed that the listview list doesn't have an initial selection,
i.e. the currently selected front/backsides are not selected when I open
the dialog.
Comment 1 Andreas Pakulat 2007-12-04 21:44:17 UTC
SVN commit 744900 by apaku:

Properly pre-set  the selected front/back deck.
CCBUG:153445

 M  +7 -6      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=744900
Comment 2 Andreas Pakulat 2007-12-04 23:51:47 UTC
SVN commit 744943 by apaku:

Properly pre-set the card deck name for the card dialog
CCBUG:153445

 M  +7 -2      cardmaps.cpp  
 M  +8 -16     pwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=744943
Comment 3 Andreas Pakulat 2007-12-05 00:29:11 UTC
SVN commit 744959 by apaku:

Don't use currentChanged signal, but selectionChanged. The former is also emitted when using the scrollwheel or scrollbars.
BUG:153445

 M  +12 -8     kcarddialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=744959