diff --git a/common/widgets/infobar.cpp b/common/widgets/infobar.cpp index fc0d3f0ddd..34634855f0 100644 --- a/common/widgets/infobar.cpp +++ b/common/widgets/infobar.cpp @@ -174,6 +174,9 @@ void WX_INFOBAR::ShowMessage( const wxString& aMessage, int aFlags, MESSAGE_TYPE void WX_INFOBAR::Dismiss() { + if( !IsShown() ) + return; + // Don't do anything if we requested the UI update if( m_updateLock ) return;