~osomon/webbrowser-app/keyboard-nav-narrow

« back to all changes in this revision

Viewing changes to src/app/webbrowser/BookmarksFoldersView.qml

  • Committer: Olivier Tilloy
  • Date: 2016-02-10 17:20:47 UTC
  • Revision ID: olivier.tilloy@canonical.com-20160210172047-w31jb5ujhey4qrju
Show the keyboard highlight only when there’s actually a physical keyboard connected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
 
147
147
                    ListViewHighlight {
148
148
                        anchors.fill: parent
149
 
                        visible: parent.activeFocus
 
149
                        visible: hasKeyboard && parent.activeFocus
150
150
                    }
151
151
 
152
152
                    MouseArea {