diff options
author | Mavridis Philippe <[email protected]> | 2024-05-25 22:10:49 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2024-06-02 15:30:52 +0300 |
commit | a9d34c14366e18066f67b972eab79a03d1081726 (patch) | |
tree | 75be1cfe258d6f1f9e64a44324e7d921c5008b08 /kate/app/katefilelist.cpp | |
parent | e8d015be37f007cfc56d74eef8b192d19e96a61b (diff) | |
download | tdebase-a9d34c14366e18066f67b972eab79a03d1081726.tar.gz tdebase-a9d34c14366e18066f67b972eab79a03d1081726.zip |
Kate: use mouse back/forward buttons to move between open documents
The direction of movement can be configured (reversed) through the
settings dialog.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kate/app/katefilelist.cpp')
-rw-r--r-- | kate/app/katefilelist.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kate/app/katefilelist.cpp b/kate/app/katefilelist.cpp index b33d0149b..f8371585e 100644 --- a/kate/app/katefilelist.cpp +++ b/kate/app/katefilelist.cpp @@ -176,6 +176,7 @@ void KateFileList::keyPressEvent(TQKeyEvent *e) { // returning void KateFileList::contentsMousePressEvent( TQMouseEvent *e ) { + if (e->button() != TQMouseEvent::LeftButton) return; m_lastMouseDownPos = e->pos(); if ( ! itemAt( contentsToViewport( e->pos() ) ) ) |