Skip to content

Commit

Permalink
Merge pull request #26476 from miiizen/26464-note-anchored-menu
Browse files Browse the repository at this point in the history
Fix context for note anchored line menu bar item
  • Loading branch information
RomanPudashkin authored Feb 14, 2025
2 parents 8aca199 + 0dcc964 commit 0661ae6
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", "Add 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 0661ae6

Please sign in to comment.