[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    A bug fix patch of KChart
From:       Toshitaka Fujioka <tositaka () soft ! kusa ! ac ! jp>
Date:       2000-12-12 4:10:10
[Download RAW message or body]

Hello.

I made the patch which fixed a problem to fall into infinite loop
when I was going to open "KChart Data Editor"(CVS of 08/12).

Please try to use.

Bye.

["koffice-kchart-bug-20001212.diff" (text/plain)]

diff -ur koffice.org/kchart/table.cc koffice/kchart/table.cc
--- koffice.org/kchart/table.cc	Tue Dec 12 00:47:55 2000
+++ koffice/kchart/table.cc	Tue Dec 12 00:49:35 2000
@@ -150,6 +150,11 @@
     if ( col == inCol && row == inRow )
         return;
 
+    if ( col == 0 && row == 0 ) {
+        inCol = col;
+        inRow = row;
+    }
+
    if ( inRow >= 0 && inCol >= 0 ) {
         QString str = input->text();
         setText( inRow, inCol, str );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic