Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 314:db14b2b3aedd
* Fix incorrect re-enabling of the Solo button when the active waveform
pane is changed in alignment mode (reported by Sampo Savolainen)
author | Chris Cannam |
---|---|
date | Thu, 12 Mar 2009 11:15:40 +0000 |
parents | 8e750332dc77 |
children | 75c3ab874c8e |
line wrap: on
line diff
--- a/main/MainWindow.cpp Tue Mar 03 21:48:03 2009 +0000 +++ b/main/MainWindow.cpp Thu Mar 12 11:15:40 2009 +0000 @@ -1940,7 +1940,8 @@ (haveCurrentLayer && dynamic_cast<TimeValueLayer *>(currentLayer)); - emit canChangeSolo(havePlayTarget); + bool alignMode = m_viewManager && m_viewManager->getAlignMode(); + emit canChangeSolo(havePlayTarget && !alignMode); emit canAlign(havePlayTarget && m_document && m_document->canAlign()); emit canChangePlaybackSpeed(true);