From koffice Tue Aug 29 13:23:54 2000 From: Werner Trobin Date: Tue, 29 Aug 2000 13:23:54 +0000 To: koffice Subject: patch: KSpread workaround X-MARC-Message: https://marc.info/?l=koffice&m=96755545229407 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------1A4110D46617A20EFC3348D3" This is a multi-part message in MIME format. --------------1A4110D46617A20EFC3348D3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! This is probably a bad fix, but at least it stops KSpread from crashing (embed a KSpread document, activate it, and press ). Anyone who can provide a real fix? -- Werner Trobin - wtrobin@mandrakesoft.com --------------1A4110D46617A20EFC3348D3 Content-Type: text/plain; charset=us-ascii; name="kspread.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kspread.diff" 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() ) --------------1A4110D46617A20EFC3348D3--