diff options
| author | Felix Ernst <[email protected]> | 2024-11-04 02:06:29 +0100 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2024-11-06 16:34:56 +0000 |
| commit | 7da7e4856dd803ec6973e10c29a881bc93f82961 (patch) | |
| tree | 66cf6313b2914e2d8c751702acec38492ee207e0 /src | |
| parent | 3f6b3deebb23a97f31c2f1e241b14857890548f6 (diff) | |
Skip splitter in Tab order
When moving through Dolphin by repeatedly pressing the Tab key,
there is one seemingly invisible object that catches keyboard
focus. On a default toolbar it receives keyboard focus between the
"Details View Mode" button and the first button of the location
bar. That object is the splitter of the location bar itself, which
never requires manipulation by keyboard. This commit skips this
object by setting its focusProxy to the primaryUrlNavigator()
instead.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinnavigatorswidgetaction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinnavigatorswidgetaction.cpp b/src/dolphinnavigatorswidgetaction.cpp index f45589dbb..36217ed09 100644 --- a/src/dolphinnavigatorswidgetaction.cpp +++ b/src/dolphinnavigatorswidgetaction.cpp @@ -34,6 +34,7 @@ DolphinNavigatorsWidgetAction::DolphinNavigatorsWidgetAction(QWidget *parent) m_splitter->setChildrenCollapsible(false); m_splitter->addWidget(createNavigatorWidget(Primary)); + m_splitter->setFocusProxy(primaryUrlNavigator()); m_adjustSpacingTimer->setInterval(100); m_adjustSpacingTimer->setSingleShot(true); |
