summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 82c0f4c..00c2d97 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -416,3 +416,3 @@ void KOTodoListView::keyPressEvent ( QKeyEvent * e )
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();
@@ -1694,8 +1694,5 @@ void KOTodoView::keyPressEvent ( QKeyEvent * e )
}
- e->accept();
-
+ e->accept();
}
-
}
-
}