Bug 58932

Summary: You don't have any cards defined.
Product: [Applications] flashkard Reporter: Roger Oberholtzer <roger.oberholtzer>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: This is a set of cards.

Description Roger Oberholtzer 2003-05-25 19:06:46 UTC
Version:           1.0 (using KDE KDE 3.1.2)
Installed from:    Gentoo Packages
Compiler:          gcc 
OS:          Linux

I have a simple set of flash cards in a file. The program shows them to me
and I can edit, save and re-read them. However, when I want to start a quiz.
I get a pop-up window with:

	You don't have any cards defined.

Even though there are 100 shown in the program.

I also tried making a new set and enteres a few cards, but I got the same responst.

So, I am unable ti use the program as it does not actually run a quiz.

It is a 'generic' compils, amd it seems the rest of 3.1.2 is working for me.
Comment 1 Roger Oberholtzer 2003-05-30 17:57:01 UTC
Created attachment 1679 [details]
This is a set of cards.

This is a set of cards. It gets read in OK, but the error
persists.
Comment 2 Scott Wheeler 2003-05-30 18:13:30 UTC
Subject: KDE_3_1_BRANCH: kdeedu/flashkard/flashkard

CVS commit by wheeler: 

Oops, this one slipped into the branch too...

CCMAIL:58932-done@bugs.kde.org


  M +1 -1      flashkard.cpp   1.25.2.2


--- kdeedu/flashkard/flashkard/flashkard.cpp  #1.25.2.1:1.25.2.2
@@ -388,5 +388,5 @@ void FlashKard::showQuiz()
 {
   CardList list = data->cardList();
-  if(list.isEmpty()) {
+  if(!list.isEmpty()) {
     if(quiz) {
 


Comment 3 Jan Ulrich Hasecke 2003-07-07 08:54:41 UTC
This bug is still in the debian package on download.kde.org stable latest.