Remove modal message box when catching exceptions in EDA_3D_CANVAS::DoRePaint

Rely on the wxInfobar instead
This commit is contained in:
Roberto Fernandez Bautista 2020-11-07 14:12:40 +00:00 committed by Mark Roszko
parent 1bbc569151
commit ae26c92a16
1 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@
#include <settings/settings_manager.h>
#include <tool/tool_dispatcher.h>
#include <confirm.h>
#include <widgets/wx_busy_indicator.h>
@ -521,7 +520,6 @@ void EDA_3D_CANVAS::DoRePaint()
}
catch( std::runtime_error& err )
{
DisplayInfoMessage( m_parent, _( "Unable to use OpenGL" ), wxString( err.what() ) );
m_is_opengl_version_supported = false;
m_opengl_supports_raytracing = false;
m_is_opengl_initialized = false;