Mercurial > hg > tony
comparison src/MainWindow.cpp @ 259:fa329ca6d75e
Make session file extension parameterisable, use .ton for Tony
author | Chris Cannam |
---|---|
date | Wed, 02 Apr 2014 18:22:41 +0100 |
parents | 2042fec57e0b |
children | 46d59edfd18a |
comparison
equal
deleted
inserted
replaced
258:2042fec57e0b | 259:fa329ca6d75e |
---|---|
2683 | 2683 |
2684 if (m_playTarget) { | 2684 if (m_playTarget) { |
2685 connect(m_fader, SIGNAL(valueChanged(float)), | 2685 connect(m_fader, SIGNAL(valueChanged(float)), |
2686 m_playTarget, SLOT(setOutputGain(float))); | 2686 m_playTarget, SLOT(setOutputGain(float))); |
2687 } | 2687 } |
2688 | 2688 |
2689 analyseNewMainModel(); | |
2690 } | |
2691 | |
2692 void | |
2693 MainWindow::analyseNewMainModel() | |
2694 { | |
2695 WaveFileModel *model = getMainModel(); | |
2696 | |
2689 if (model) { | 2697 if (model) { |
2690 if (m_paneStack) { | 2698 if (m_paneStack) { |
2691 | 2699 |
2692 int pc = m_paneStack->getPaneCount(); | 2700 int pc = m_paneStack->getPaneCount(); |
2693 Pane *pane = 0; | 2701 Pane *pane = 0; |