Nikita Melnichenko <> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
      Latest Commit|                            |
                   |                            |sader/26c4b148a18bbd6ccce69
                   |                            |dd5dbbaf86a471f9cc5
             Status|CONFIRMED                   |RESOLVED

--- Comment #15 from Nikita Melnichenko <> ---
Git commit 26c4b148a18bbd6ccce69dd5dbbaf86a471f9cc5 by Nikita Melnichenko.
Committed on 24/02/2018 at 05:50.
Pushed by melnichenko into branch 'master'.

KrViewer: reenforce QTabWidget shortcuts for tab switching

FIXED: [ 195749 ] Ctrl+Tab don't switch over edited files

Ctrl+Tab and Ctrl+Shift+Tab are actually default QTabWidget shortcuts
that are implemented via keyPressEvent method. When editor is placed on
a tab, it intercepts the key presses for itself. This is why KrViewer
understands the shortcuts fine if all tabs are Lister or other read-only
tabs. If there are Editor tabs, you can switch between tabs normally until
you hit an Editor tab and then it acts as Tab and Shift+Tab correspondingly.

This change enforces the shortcuts through
KActionCollection::setDefaultShortcuts which take precedence over
the editor shortcuts.

Differential Revision:

M  +9    -3    krusader/KViewer/krviewer.cpp

You are receiving this mail because:
You are watching all bug changes.

Reply via email to