Additional fixes:
- Changes to staff own properties (small, invisible, user dist., colour) were not carried on.
- Changes to staff type when not visibly laid out into the score.
- Finally time sigs are re-laid out when staff type changes.
- If short and long names are empty strings, instrument relevant lists are no longer set to an empty string; rather the relevant list is left empty; this matches the situation when the dlg is open with either name not set and avoids unnecessary ChangePart undoes.
- Staff props dlg: added type props common to all types (num. of lines, line dist., etc.).
- Changing some type props but canceling the main dlg no longer changes the staff type.
- Fixed equality checks in EditStaff::apply().
- Both dlgs: set all buddies and proper tab order.
Also:
- Staff group names ("Standard", "Percussion", "Tablature") made uniform in spelling and translatable.
- Fixed Instrument::operator==().
Two separate bugs here. First caused staff text channel changes to be
applied at the wrong time. Second prevented channel changes to "normal"
from working at all.
Renames also the files hoding the class itself:
- libmscore/tablature.cpp => stringdata.cpp
- libmscore/tablature.h => stringdata.h
No actual change in the code, only updated references to stringdata.h in #include's.
* Replace "Tablature" with "StringData" in instruments.xml
* Remove support for "Tablature" tag from instrtemplate.cpp (but keep it in instrument.cpp for compatibility with existent 2.0 scores)
Refactoring the following names:
Classes:
Tablature => StringData
Member variables and methods:
Instrument::tablature() => stringData()
Instrument::setTablature() => setStringdata()
InstrumentTemplate::tablature => stringData
InstrumentData::_tablature => _stringData
InstrumentData::tablature() => stringData()
InstrumentData::setTablature() => setStringData()
There is no change in logic or program behaviour, only renaming.
Changed to a default empty string set.
This also allows to filter out TAB staff types in staff props dlg box for an instrument without strings defined.