author | zautrix <zautrix> | 2005-03-29 00:10:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-29 00:10:48 (UTC) |
commit | a5d52c19d2cd9b008e5cf41d5c7d2c193df7ee46 (patch) (side-by-side diff) | |
tree | b9f1b2710da1cd0105382831ac0a3e3d7d44f09c /korganizer | |
parent | 4e7c45695672ecdbd0cd14cac0ea29a8e134ee78 (diff) | |
download | kdepimpi-a5d52c19d2cd9b008e5cf41d5c7d2c193df7ee46.zip kdepimpi-a5d52c19d2cd9b008e5cf41d5c7d2c193df7ee46.tar.gz kdepimpi-a5d52c19d2cd9b008e5cf41d5c7d2c193df7ee46.tar.bz2 |
fix
-rw-r--r-- | korganizer/komonthview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index d825493..940d288 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -126,2 +126,3 @@ void KNoScrollListBox::keyPressEvent(QKeyEvent *e) } + if ( count() ) { setCurrentItem((currentItem()+count()-1)%count()); @@ -134,2 +135,3 @@ void KNoScrollListBox::keyPressEvent(QKeyEvent *e) } + } break; @@ -140,2 +142,3 @@ void KNoScrollListBox::keyPressEvent(QKeyEvent *e) } + if ( count () ) { setCurrentItem((currentItem()+1)%count()); @@ -148,2 +151,3 @@ void KNoScrollListBox::keyPressEvent(QKeyEvent *e) } + } break; @@ -164,2 +168,3 @@ void KNoScrollListBox::oneDown() { + if ( count () ) { setCurrentItem((currentItem()+1)%count()); @@ -173,2 +178,3 @@ void KNoScrollListBox::oneDown() } +} void KNoScrollListBox::keyReleaseEvent(QKeyEvent *e) |