issue with using palette-saved staff type changes
- Create score with one or more staffs.
- Place staff type change on a staff.
- Edit parameters of staff type change.
- Drag it into palette as custom element.
- Place that custom element on the staff
- Ctrl+Z / Undo
- Grow infinitely long bars
- ????????
- profit
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.1-241490900, revision: 026c26b