Skip to content

Commit

Permalink
Fix context for note anchored line menu bar item
Browse files Browse the repository at this point in the history
  • Loading branch information
miiizen committed Feb 13, 2025
1 parent 0cfc821 commit 5e5bb14
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/notation/internal/notationuiactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1233,9 +1233,10 @@ const UiActionList NotationUiActions::m_actions = {
),
UiAction("add-noteline",
mu::context::UiCtxProjectOpened,
mu::context::CTX_NOTATION_OPENED,
TranslatableString("action", "&Note anchored line"),
TranslatableString("action", "Add note anchored line")
mu::context::CTX_ANY,
TranslatableString("action", "Note-anchored line"),
TranslatableString("action", "Note-anchored line"),
IconCode::Code::NOTE_ANCHORED_LINE
),
UiAction("chord-tie",
mu::context::UiCtxProjectOpened,
Expand Down Expand Up @@ -2504,13 +2505,6 @@ const UiActionList NotationUiActions::m_actions = {
TranslatableString("action", "Slight bend"),
IconCode::Code::GUITAR_SLIGHT_BEND
),
UiAction("add-noteline",
mu::context::UiCtxProjectFocused,
mu::context::CTX_ANY,
TranslatableString("action", "Note-anchored line"),
TranslatableString("action", "Note-anchored line"),
IconCode::Code::NOTE_ANCHORED_LINE
),
};

const UiActionList NotationUiActions::m_scoreConfigActions = {
Expand Down

0 comments on commit 5e5bb14

Please sign in to comment.