From 31f24d21cd23bb7e4033e7ffa000e6c979133ce7 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 23 Feb 2005 18:47:45 +0000 Subject: many focus fixes --- (limited to 'korganizer/kolistview.cpp') diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 4a6e17d..6acee75 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -784,7 +784,10 @@ void KOListView::hideDates() { showDates(false); } - +void KOListView::resetFocus() +{ + mListView->setFocus(); +} void KOListView::updateView() { mListView->setFocus(); @@ -1075,11 +1078,12 @@ void KOListViewListView::keyPressEvent ( QKeyEvent *e) if ( cn ) { KOListViewItem* ci = (KOListViewItem*)( cn ); if ( ci ){ - emit showIncidence( ci->data()); + //emit showIncidence( ci->data()); cn = cn->nextSibling(); if ( cn ) { setCurrentItem ( cn ); ensureItemVisible ( cn ); + emit showIncidence( ci->data()); } } } -- cgit v0.9.0.2