fix #38211

	modified:   libmscore/note.cpp
	modified:   libmscore/rest.cpp
	modified:   libmscore/rest.h
Same remarks.