# HG changeset patch # User Chris Cannam # Date 1236856540 0 # Node ID db14b2b3aeddf0cc51dfde312092214b280135cd # Parent 635b79462d3ec4af9c1591843f67a8b4d967bb94 * Fix incorrect re-enabling of the Solo button when the active waveform pane is changed in alignment mode (reported by Sampo Savolainen) diff -r 635b79462d3e -r db14b2b3aedd main/MainWindow.cpp --- 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(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);