timebasedwidget: restore scroll when using "toggle show all"

"Toggle Show All" would restore only the scale. Now it sets/restores the
scroll as well.
This commit is contained in:
itsmattkc
2020-05-30 02:49:25 +10:00
parent 957e877b95
commit 8299acf547
2 changed files with 7 additions and 2 deletions
+1
View File
@@ -168,6 +168,7 @@ private:
bool toggle_show_all_;
double toggle_show_all_old_scale_;
int toggle_show_all_old_scroll_;
private slots:
void UpdateMaximumScroll();