diff options
| author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-05 14:26:14 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-08 17:18:05 +0200 |
| commit | aed33ffc14ff1fae4144973a6d14caec21a80012 (patch) | |
| tree | 40b5f63cbde0116664f0807634ed0368ab0af5ad /src | |
| parent | 032f0f673308d30e4e718250e4668834037186a1 (diff) | |
FileDialog: ensure that arrow keys can always navigate the file list
By default the file list should be focused so that arrow keys can be
used to select a file, and so that the list has a focused appearance.
But even when the list does not have focus, the up/down arrow keys
can still navigate the list because they are not accepted by any
other controls in this dialog.
Change-Id: Ie73bb187672cce86da0e5089d16a558af92414e9
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/dialogs/DefaultFileDialog.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialogs/DefaultFileDialog.qml b/src/dialogs/DefaultFileDialog.qml index 3423dfd26..e1ad81f3d 100644 --- a/src/dialogs/DefaultFileDialog.qml +++ b/src/dialogs/DefaultFileDialog.qml @@ -54,6 +54,7 @@ AbstractFileDialog { if (visible) { view.needsWidthAdjustment = true view.selection.clear() + view.focus = true } } @@ -151,6 +152,7 @@ AbstractFileDialog { break } } + Keys.forwardTo: [view.flickableItem] SplitView { id: splitter |
