summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-08-05 21:59:14 (UTC)
committer zautrix <zautrix>2005-08-05 21:59:14 (UTC)
commitcd215c243d0636cabbc73006652b9b6783319de1 (patch) (side-by-side diff)
tree2b5021ac24ea77304991ebabac97cab9c8451202
parent90585d5946407bdb8783bcb369ef7483c869995d (diff)
downloadkdepimpi-cd215c243d0636cabbc73006652b9b6783319de1.zip
kdepimpi-cd215c243d0636cabbc73006652b9b6783319de1.tar.gz
kdepimpi-cd215c243d0636cabbc73006652b9b6783319de1.tar.bz2
fixxx
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp5
1 files changed, 1 insertions, 4 deletions
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 );
@@ -1693,11 +1693,8 @@ void KOTodoView::keyPressEvent ( QKeyEvent * e )
}
}
e->accept();
-
}
-
}
-
}
void KOTodoView::updateTodo( Todo * t, int type )
{