Skip to content

Commit

Permalink
Add keyboard navigation for Publish Toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup authored and igorkorsukov committed Jul 5, 2021
1 parent 1985e58 commit dcc2806
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/appshell/qml/PublishPage/PublishToolBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ import MuseScore.AppShell 1.0
Rectangle {
id: root

property alias navigation: keynavSub
property alias navigation: navPanel

color: ui.theme.backgroundPrimaryColor

NavigationPanel {
id: keynavSub
id: navPanel
name: "PublishToolBar"
enabled: root.enabled && root.visible
}
Expand Down Expand Up @@ -72,6 +72,9 @@ Rectangle {
orientation: Qt.Horizontal
normalStateColor: "transparent"

navigation.panel: navPanel
navigation.order: model.index

onClicked: {
toolBarModel.handleAction(model.code)
}
Expand Down

0 comments on commit dcc2806

Please sign in to comment.