diff --git a/pcbnew/pcb_draw_panel_gal.cpp b/pcbnew/pcb_draw_panel_gal.cpp index 1aed5a86bd..8d2e89f275 100644 --- a/pcbnew/pcb_draw_panel_gal.cpp +++ b/pcbnew/pcb_draw_panel_gal.cpp @@ -229,9 +229,6 @@ void PCB_DRAW_PANEL_GAL::SetWorksheet( KIGFX::WORKSHEET_VIEWITEM* aWorksheet ) m_worksheet = aWorksheet; m_view->Add( m_worksheet ); - - // Limit panning to the size of worksheet frame - m_viewControls->SetPanBoundary( aWorksheet->ViewBBox() ); }