Skip to content

Commit

Permalink
Default to the Tempo editor
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxras committed Mar 27, 2012
1 parent b36519e commit 8c23ff7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion oom/Composer/Composer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ Composer::Composer(QMainWindow* parent, const char* name)

m_headerTabs->addTab(&virtualScroll, QString(tr("Navigator")));
m_headerTabs->addTab(m_tempoHeader, QString(tr("Tempo")));
m_headerTabs->setCornerWidget(headerCornerWidget(0));
m_headerTabs->setCornerWidget(headerCornerWidget(1));
connect(m_headerTabs, SIGNAL(currentChanged(int)), this, SLOT(headerTabChanged(int)));

m_tempoHeader->setStartTempo(m_tempoStart);
Expand Down Expand Up @@ -483,6 +483,7 @@ QWidget* Composer::headerCornerWidget(int tab)
connect(m_tempoRange, SIGNAL(maxChanged(double)), this, SLOT(setEndTempo(double)));

m_headerToolBox->setCurrentIndex(tab);
m_headerTabs->setCurrentIndex(tab);
return m_headerToolBox;
}

Expand Down
2 changes: 1 addition & 1 deletion oom/Composer/Composer.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ private slots:
void resourceDockAreaChanged(Qt::DockWidgetArea);
void currentTabChanged(int);
void composerViewChanged();
void updateAll();
void updateScroll(int, int);
void headerTabChanged(int);
void setStartTempo(double);
Expand Down Expand Up @@ -168,6 +167,7 @@ public slots:
void verticalScrollSetYpos(unsigned);
void preloadControllers();
void heartBeat();
void updateAll();

public:

Expand Down

0 comments on commit 8c23ff7

Please sign in to comment.