diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index 94946c9ab2..915558494d 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -219,6 +219,10 @@ void EDA_BASE_FRAME::windowClosing( wxCloseEvent& event ) if( canCloseWindow( event ) ) { m_isClosing = true; + + if( m_infoBar ) + m_infoBar->Dismiss(); + APP_SETTINGS_BASE* cfg = config(); if( cfg ) diff --git a/common/widgets/wx_infobar.cpp b/common/widgets/wx_infobar.cpp index c8916f3b9f..c8f0cfb20b 100644 --- a/common/widgets/wx_infobar.cpp +++ b/common/widgets/wx_infobar.cpp @@ -63,7 +63,7 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid // Infobar is broken on Mac without the effects SetShowHideEffects( wxSHOW_EFFECT_ROLL_TO_BOTTOM, wxSHOW_EFFECT_ROLL_TO_TOP ); - SetEffectDuration( 300 ); + SetEffectDuration( 200 ); #else // Infobar freezes canvas on Windows with the effect, and GTK looks bad with it SetShowHideEffects( wxSHOW_EFFECT_NONE, wxSHOW_EFFECT_NONE );