Skip to content

Commit

Permalink
Add menu entry for sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Dec 1, 2024
1 parent 3efede7 commit cd22410
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/appshell/view/appmenumodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ MenuItem* AppMenuModel::makeDiagnosticsMenu()
makeMenuItem("color-segment-shapes"),
makeMenuItem("show-skylines"),
makeMenuItem("show-system-bounding-rects"),
makeMenuItem("show-corrupted-measures")
makeMenuItem("show-corrupted-measures"),
makeMenuItem("check-sanity")
};

MenuItemList extensionsItems {
Expand Down
5 changes: 5 additions & 0 deletions src/notation/internal/notationuiactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2593,6 +2593,11 @@ const UiActionList NotationUiActions::m_engravingDebuggingActions = {
TranslatableString("action", "Show/hide corrupted measures"),
Checkable::Yes
),
UiAction("check-sanity",
mu::context::UiCtxProjectOpened,
mu::context::CTX_NOTATION_OPENED,
TranslatableString("action", "Check score sanity")
),
UiAction("edit-strings",
mu::context::UiCtxProjectOpened,
mu::context::CTX_NOTATION_OPENED
Expand Down

0 comments on commit cd22410

Please sign in to comment.