mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-23 16:08:07 +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()
|
void Theme::ApplyUpdatedImages()
|
||||||
{
|
{
|
||||||
AColor::ReInit();
|
AColor::ReInit();
|
||||||
AudacityProject *p = GetActiveProject();
|
|
||||||
|
for (size_t i = 0; i < gAudacityProjects.size(); i++) {
|
||||||
|
AudacityProject *p = gAudacityProjects[i].get();
|
||||||
p->ApplyUpdatedTheme();
|
p->ApplyUpdatedTheme();
|
||||||
for( int ii = 0; ii < ToolBarCount; ++ii )
|
for( int ii = 0; ii < ToolBarCount; ++ii )
|
||||||
{
|
{
|
||||||
@ -259,6 +261,7 @@ void Theme::ApplyUpdatedImages()
|
|||||||
pToolBar->ReCreateButtons();
|
pToolBar->ReCreateButtons();
|
||||||
}
|
}
|
||||||
p->GetRulerPanel()->ReCreateButtons();
|
p->GetRulerPanel()->ReCreateButtons();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Theme::RegisterImages()
|
void Theme::RegisterImages()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user