Ensure that Qt TAS piano roll recalculates line width for horizontal scroll bar when reset is called. This fixes incorrect horizontal scroll bar behavior when loading new projects that have a different controller count.
This commit is contained in:
parent
c890f6c1bb
commit
d380fc7f50
|
@ -4139,6 +4139,7 @@ void QPianoRoll::reset(void)
|
|||
|
||||
numColumns = 2 + (NUM_JOYPAD_BUTTONS * num_joysticks);
|
||||
|
||||
calcFontData();
|
||||
}
|
||||
//----------------------------------------------------------------------------
|
||||
void QPianoRoll::save(EMUFILE *os, bool really_save)
|
||||
|
|
Loading…
Reference in New Issue