Loading cvpcb/cvframe.cpp +9 −0 Original line number Original line Diff line number Diff line Loading @@ -934,6 +934,15 @@ void CVPCB_MAINFRAME::CreateScreenCmp() { { if( m_DisplayFootprintFrame->IsIconized() ) if( m_DisplayFootprintFrame->IsIconized() ) m_DisplayFootprintFrame->Iconize( false ); m_DisplayFootprintFrame->Iconize( false ); // The display footprint window might be buried under some other // windows, so CreateScreenCmp() on an existing window would not // show any difference, leaving the user confused. // So we want to put it to front, second after our CVPCB_MAINFRAME. // We do this by a little dance of bringing it to front then the main // frame back. m_DisplayFootprintFrame->Raise(); // Make sure that is visible. Raise(); // .. but still we want the focus. } } m_DisplayFootprintFrame->InitDisplay(); m_DisplayFootprintFrame->InitDisplay(); Loading Loading
cvpcb/cvframe.cpp +9 −0 Original line number Original line Diff line number Diff line Loading @@ -934,6 +934,15 @@ void CVPCB_MAINFRAME::CreateScreenCmp() { { if( m_DisplayFootprintFrame->IsIconized() ) if( m_DisplayFootprintFrame->IsIconized() ) m_DisplayFootprintFrame->Iconize( false ); m_DisplayFootprintFrame->Iconize( false ); // The display footprint window might be buried under some other // windows, so CreateScreenCmp() on an existing window would not // show any difference, leaving the user confused. // So we want to put it to front, second after our CVPCB_MAINFRAME. // We do this by a little dance of bringing it to front then the main // frame back. m_DisplayFootprintFrame->Raise(); // Make sure that is visible. Raise(); // .. but still we want the focus. } } m_DisplayFootprintFrame->InitDisplay(); m_DisplayFootprintFrame->InitDisplay(); Loading