Merge pull request #2173 from mgavioli/Fix#71076_TAB_make_flag_symbol_unselectable
Fix #71076 - TABs: Make flag symbols unselectable
This commit is contained in:
commit
d1ee5a2a97
1 changed files with 2 additions and 2 deletions
|
@ -821,7 +821,7 @@ qreal StaffType::physStringToYOffset(int strg) const
|
|||
TabDurationSymbol::TabDurationSymbol(Score* s)
|
||||
: Element(s)
|
||||
{
|
||||
setFlags(ElementFlag::MOVABLE | ElementFlag::SELECTABLE);
|
||||
setFlags(flags() & ~(ElementFlag::MOVABLE | ElementFlag::SELECTABLE) );
|
||||
setGenerated(true);
|
||||
_tab = 0;
|
||||
_text = QString();
|
||||
|
@ -830,7 +830,7 @@ TabDurationSymbol::TabDurationSymbol(Score* s)
|
|||
TabDurationSymbol::TabDurationSymbol(Score* s, StaffType* tab, TDuration::DurationType type, int dots)
|
||||
: Element(s)
|
||||
{
|
||||
setFlags(ElementFlag::MOVABLE | ElementFlag::SELECTABLE);
|
||||
setFlags(flags() & ~(ElementFlag::MOVABLE | ElementFlag::SELECTABLE) );
|
||||
setGenerated(true);
|
||||
setDuration(type, dots, tab);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue