-rw-r--r-- | korganizer/kolistview.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 341f473..e1b393d 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -333,2 +333,3 @@ KOListView::~KOListView() } + QString KOListView::getWhatsThisText(QPoint p) @@ -430,2 +431,3 @@ void KOListView::setAlarm() calendar()->reInitAlarmSettings(); + QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); } @@ -477,2 +479,3 @@ void KOListView::setCategories( bool removeOld ) } + QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); } @@ -701,2 +704,3 @@ void KOListView::writeToFile( bool iCal ) } + QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); } @@ -831,4 +835,7 @@ void KOListView::hideDates() } + void KOListView::resetFocus() -{ +{ + topLevelWidget()->setActiveWindow(); + topLevelWidget()->raise(); mListView->setFocus(); |