mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 16:20:05 +02:00
Bug 1715 - Theme change in the case of multiple open windows is only complete in the foreground window.
This commit is contained in:
parent
dc05b94fd1
commit
cd0ac7d7ef
@ -250,7 +250,9 @@ bool ThemeBase::LoadPreferredTheme()
|
||||
void Theme::ApplyUpdatedImages()
|
||||
{
|
||||
AColor::ReInit();
|
||||
AudacityProject *p = GetActiveProject();
|
||||
|
||||
for (size_t i = 0; i < gAudacityProjects.size(); i++) {
|
||||
AudacityProject *p = gAudacityProjects[i].get();
|
||||
p->ApplyUpdatedTheme();
|
||||
for( int ii = 0; ii < ToolBarCount; ++ii )
|
||||
{
|
||||
@ -260,6 +262,7 @@ void Theme::ApplyUpdatedImages()
|
||||
}
|
||||
p->GetRulerPanel()->ReCreateButtons();
|
||||
}
|
||||
}
|
||||
|
||||
void Theme::RegisterImages()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user