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

List:       koffice
Subject:    patch: KSpread <TAB> workaround
From:       Werner Trobin <wtrobin () mandrakesoft ! com>
Date:       2000-08-29 13:23:54
[Download RAW message or body]

Hi!

This is probably a bad fix, but at least it stops KSpread
from crashing (embed a KSpread document, activate it, and
press <TAB>).

Anyone who can provide a real fix?

-- 
Werner Trobin - wtrobin@mandrakesoft.com
["kspread.diff" (text/plain)]

Index: kspread_editors.cc
===================================================================
RCS file: /home/kde/koffice/kspread/kspread_editors.cc,v
retrieving revision 1.20
diff -b -u -p -r1.20 kspread_editors.cc
--- kspread_editors.cc	2000/07/23 11:42:32	1.20
+++ kspread_editors.cc	2000/08/29 12:45:09
@@ -160,6 +160,8 @@ bool KSpreadTextEditor::eventFilter( QOb
             QApplication::sendEvent( parent(), e );
             return TRUE;
         }
+        else if( k->key() == Key_Tab )
+            return true;
 
         // End choosing. May be restarted by KSpreadTextEditor::slotTextChanged
         if ( e->type() == QEvent::KeyPress && !k->text().isEmpty() )


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

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