mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-22 06:22:58 +02:00
Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=643 "Residual consistency issues with SHIFT showing Loop Play button icon" by Paul Licameli.
* Loop play-at-speed and cut preview play-at-speed implemented. * Shift or ctrl down now affect all relevant buttons, loop or cut preview, normal or at speed, and append-record.
This commit is contained in:
@@ -63,7 +63,7 @@ and use it for toolbar and window layouts too.
|
||||
|
||||
#include "Project.h"
|
||||
#include "toolbars/ToolBar.h"
|
||||
#include "toolbars/ControlToolBar.h"
|
||||
#include "toolbars/ToolManager.h"
|
||||
#include "ImageManipulation.h"
|
||||
#include "Theme.h"
|
||||
#include "Experimental.h"
|
||||
@@ -223,9 +223,11 @@ void Theme::EnsureInitialised()
|
||||
void Theme::ApplyUpdatedImages()
|
||||
{
|
||||
AudacityProject *p = GetActiveProject();
|
||||
if( p->GetControlToolBar() )
|
||||
for( int ii = 0; ii < ToolBarCount; ++ii )
|
||||
{
|
||||
p->GetControlToolBar()->ReCreateButtons();
|
||||
ToolBar *pToolBar = p->mToolManager->GetToolBar(ii);
|
||||
if( pToolBar )
|
||||
pToolBar->ReCreateButtons();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user