Commit 159017ed authored by Brian Sidebotham's avatar Brian Sidebotham
Browse files

* Add Henner's patch (with minimal changes) to ensure CVpcb footprint view...

* Add Henner's patch (with minimal changes) to ensure CVpcb footprint view window is always brought into view, even after being hidden by another window
parents 775ce399 742ee532
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -302,6 +302,8 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
        new Contributor( wxT( "Iñigo Zuluagaz" ),       wxT( "inigo_zuluaga@yahoo.es" ),        wxT( "Icons by" ),      KiBitmapNew( edit_module_xpm ) ) );
    info.AddArtist(
        new Contributor( wxT( "Fabrizio Tappero" ),     wxT( "fabrizio.tappero@gmail.com" ),    wxT( "New icons by" ),  KiBitmapNew( edit_module_xpm ) ) );
    info.AddArtist(
        new Contributor( wxT( "Konstantin Baranovskiy" ), wxT( "baranovskiykonstantin@gmail.com" ),    wxT( "New icons by" ),  KiBitmapNew( edit_module_xpm ) ) );
    info.AddArtist(
        new Contributor( wxT( "Renie Marquet" ),        wxT( "reniemarquet@uol.com.br" ),       wxT( "3D modules by" ), KiBitmapNew( three_d_xpm ) ) );
    info.AddArtist(
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,9 @@ void EDA_APP::ReadPdfBrowserInfos()
    wxASSERT( m_commonSettings != NULL );

    m_PdfBrowser = m_commonSettings->Read( wxT( "PdfBrowserName" ), wxEmptyString );
    int tmp;
    m_commonSettings->Read( wxT( "UseSystemBrowser" ), &tmp, 0 );
    m_useSystemPdfBrowser = tmp != 0;
}


@@ -27,6 +30,7 @@ void EDA_APP::WritePdfBrowserInfos()
    wxASSERT( m_commonSettings != NULL );

    m_commonSettings->Write( wxT( "PdfBrowserName" ), m_PdfBrowser );
    m_commonSettings->Write( wxT( "UseSystemBrowser" ), m_useSystemPdfBrowser );
}


+1 −0
Original line number Diff line number Diff line
@@ -273,6 +273,7 @@ EDA_APP::EDA_APP()
    m_Locale = NULL;
    m_projectSettings = NULL;
    m_commonSettings = NULL;
    ForceSystemPdfBrowser( false );
}


+9 −0
Original line number Diff line number Diff line
@@ -934,6 +934,15 @@ void CVPCB_MAINFRAME::CreateScreenCmp()
    {
        if( m_DisplayFootprintFrame->IsIconized() )
             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();
Loading