|
From: Tapio V. <aa...@us...> - 2011-02-03 13:30:58
|
Module: editor Branch: master Commit: 52c264bb847a1b9b32177fd296dea445174fab2c Author: Tapio Vierros <tap...@gm...> Date: Thu Feb 3 15:29:49 2011 +0200 Set initial seekHandle grab behaviour according to UI. --- editorapp.cc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/editorapp.cc b/editorapp.cc index b3b959a..7c6531c 100644 --- a/editorapp.cc +++ b/editorapp.cc @@ -46,6 +46,7 @@ EditorApp::EditorApp(QWidget *parent): QMainWindow(parent), gettingStarted(), pr connect(ui.cmdSkipSentence, SIGNAL(pressed()), noteGraph, SLOT(selectNextSentenceStart())); connect(ui.chkGrabSeekHandle, SIGNAL(toggled(bool)), noteGraph, SLOT(setSeekHandleWrapToViewport(bool))); connect(ui.cmdMusicFile, SIGNAL(clicked()), this, SLOT(on_actionMusicFile_triggered())); + noteGraph->setSeekHandleWrapToViewport(ui.chkGrabSeekHandle->isChecked()); show(); // Needed in order to get real values from width() |