diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index 8250163af..9a0afbe38 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -1079,13 +1079,12 @@ void MainWindow::updateViewMenu() */ // Should be doable. - /* qa = new QAction(tr( "Smooth scroll" ), this); + qa = new QAction(tr( "Smooth scroll" ), this); qa->setData("smoothscroll"); qa->setCheckable( true ); qa->setChecked( ConfigManager::inst()->value( "ui", "smoothscroll" ). toInt() ? true : false ); m_viewMenu->addAction(qa); - */ // Not yet. /* qa = new QAction(tr( "One instrument track window" ), this); diff --git a/src/gui/editors/SongEditor.cpp b/src/gui/editors/SongEditor.cpp index b14f90a37..2807c7a67 100644 --- a/src/gui/editors/SongEditor.cpp +++ b/src/gui/editors/SongEditor.cpp @@ -555,6 +555,7 @@ void SongEditor::updatePosition( const MidiTime & _t ) && m_timeLine->autoScroll() == TimeLineWidget::AutoScrollEnabled) || m_scrollBack == true ) { + m_smoothScroll = ConfigManager::inst()->value( "ui", "smoothscroll" ).toInt(); const int w = width() - widgetWidth - trackOpWidth - contentWidget()->verticalScrollBar()->width(); // width of right scrollbar