1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 16:40:07 +02:00

Bug 322 - (Residual) Deal with iconized windows.

This commit is contained in:
James Crook 2016-09-10 18:36:15 +01:00
parent 83e355dc65
commit 1c00e18a5d

View File

@ -2364,6 +2364,10 @@ void AudacityProject::OnMouseEvent(wxMouseEvent & event)
class TitleRestorer{ class TitleRestorer{
public: public:
TitleRestorer(AudacityProject * p ){ TitleRestorer(AudacityProject * p ){
if( p->IsIconized() )
p->Restore();
p->Raise(); // May help identifying the window on Mac
// Construct this projects name and number. // Construct this projects name and number.
sProjNumber = ""; sProjNumber = "";
sProjName = p->GetName(); sProjName = p->GetName();