diff options
| author | Eugene Popov <[email protected]> | 2023-04-25 13:05:39 +0000 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2023-04-25 13:05:39 +0000 |
| commit | 7b6a67e520c04f56b4b05fa26b252177398df6df (patch) | |
| tree | 2932c1185b4fbd123327ff8d42afc0671bbce1ed /src/dolphinmainwindow.h | |
| parent | f186f694d4613c335184feed89e50f345c72f47c (diff) | |
Fix activating the Selection Mode with a keyboard shortcut
If a spacebar is used as a keyboard shortcut to activate the Selection Mode, then allow this shortcut to be triggered only if the view has a keyboard focus.
BUG: 465489
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index fe07cbc17..92ddb24c3 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -238,6 +238,9 @@ Q_SIGNALS: void settingsChanged(); protected: + /** @see QObject::event() */ + bool event(QEvent *event) override; + /** @see QWidget::showEvent() */ void showEvent(QShowEvent *event) override; |
