~osomon/webbrowser-app/apparmor-additional-holes-unity8

« back to all changes in this revision

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

  • Committer: Olivier Tilloy
  • Author(s): Alexandre Abreu
  • Date: 2017-02-06 22:17:36 UTC
  • mfrom: (1486.3.1 kaybodr)
  • Revision ID: olivier.tilloy@canonical.com-20170206221736-2dgb35yi95tgcozs
Explicitely define Ctrl+R as the refresh shortcut for the browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1345
1345
 
1346
1346
    // F5 or Ctrl+R: Reload current Tab
1347
1347
    Shortcut {
1348
 
        sequence: StandardKey.Refresh
 
1348
        sequence: "Ctrl+R"
1349
1349
        enabled: contentsContainer.visible
1350
1350
        onActivated: if (currentWebview) currentWebview.reload()
1351
1351
    }