From cd215c243d0636cabbc73006652b9b6783319de1 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 05 Aug 2005 21:59:14 +0000 Subject: fixxx --- (limited to 'korganizer') diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 82c0f4c..00c2d97 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -414,7 +414,7 @@ void KOTodoListView::keyPressEvent ( QKeyEvent * e ) if (! e->isAutoRepeat() ) mFlagKeyPressed = true; QListViewItem* cn; - if ( e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter ) { + if ( (e->key() == Qt::Key_Return || e->key() == Qt::Key_Enter) && mName != "todolistsmall") { cn = currentItem(); if ( cn ) { KOTodoViewItem* ci = (KOTodoViewItem*)( cn ); @@ -1692,12 +1692,9 @@ void KOTodoView::keyPressEvent ( QKeyEvent * e ) } } - e->accept(); - + e->accept(); } - } - } void KOTodoView::updateTodo( Todo * t, int type ) { -- cgit v0.9.0.2