From 1eaace99a067a7fbbb0349c67b7c0633274d19b6 Mon Sep 17 00:00:00 2001 From: Bazz Date: Tue, 1 Dec 2020 00:25:23 -0500 Subject: [PATCH] fixes #161 Scroll Instruments box to top when loading a song --- pc/tracker/Tracker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pc/tracker/Tracker.cpp b/pc/tracker/Tracker.cpp index 4d60c6d0..7f5c6376 100644 --- a/pc/tracker/Tracker.cpp +++ b/pc/tracker/Tracker.cpp @@ -1257,6 +1257,7 @@ void Tracker::reset() main_window.pateditpanel.set_currow(0); main_window.patseqpanel.set_currow(0); main_window.instrpanel.set_currow(0); + main_window.instrpanel.rows_scrolled = 0; // fixes #161 Scroll Instruments box to top when loading a song main_window.samplepanel.currow = 0; main_window.samplepanel.rows_scrolled = 0;