diff --git a/eeschema/sch_draw_panel.cpp b/eeschema/sch_draw_panel.cpp index 69ee6aa1a6..5991d1278f 100644 --- a/eeschema/sch_draw_panel.cpp +++ b/eeschema/sch_draw_panel.cpp @@ -197,8 +197,6 @@ void SCH_DRAW_PANEL::OnShow() if( frame ) frame->ActivateGalCanvas(); } - - m_parent->SetDoubleBuffered( true ); } diff --git a/eeschema/sch_preview_panel.cpp b/eeschema/sch_preview_panel.cpp index 02da8dfbbe..da6a3e240e 100644 --- a/eeschema/sch_preview_panel.cpp +++ b/eeschema/sch_preview_panel.cpp @@ -87,8 +87,6 @@ SCH_PREVIEW_PANEL::~SCH_PREVIEW_PANEL() void SCH_PREVIEW_PANEL::OnShow() { - m_parent->SetDoubleBuffered( true ); - //m_view->RecacheAllItems(); } diff --git a/gerbview/gerbview_draw_panel_gal.cpp b/gerbview/gerbview_draw_panel_gal.cpp index 59ce9eac36..28b541c806 100644 --- a/gerbview/gerbview_draw_panel_gal.cpp +++ b/gerbview/gerbview_draw_panel_gal.cpp @@ -100,7 +100,6 @@ void GERBVIEW_DRAW_PANEL_GAL::OnShow() if( frame ) { - m_parent->SetDoubleBuffered( true ); SetTopLayer( frame->GetActiveLayer() ); auto& displ_opts = frame->GetDisplayOptions(); static_cast( diff --git a/pcbnew/pcb_draw_panel_gal.cpp b/pcbnew/pcb_draw_panel_gal.cpp index 3ec08a70c2..077373c719 100644 --- a/pcbnew/pcb_draw_panel_gal.cpp +++ b/pcbnew/pcb_draw_panel_gal.cpp @@ -416,7 +416,6 @@ void PCB_DRAW_PANEL_GAL::OnShow() if( frame ) { - m_parent->SetDoubleBuffered( true ); SetTopLayer( frame->GetActiveLayer() ); KIGFX::PAINTER* painter = m_view->GetPainter(); auto settings = static_cast( painter->GetSettings() );