diff --git a/include/wxBasePcbFrame.h b/include/wxBasePcbFrame.h index 992669dc51..48893e37c4 100644 --- a/include/wxBasePcbFrame.h +++ b/include/wxBasePcbFrame.h @@ -91,9 +91,6 @@ protected: /// main window. wxAuiToolBar* m_auxiliaryToolBar; - /// True prints or plots the drawing border and title block. - bool m_printBorderAndTitleBlock; - void updateGridSelectBox(); void updateZoomSelectBox(); virtual void unitsChangeRefresh(); @@ -105,8 +102,6 @@ public: ~PCB_BASE_FRAME(); - bool GetPrintBorderAndTitleBlock() const { return m_printBorderAndTitleBlock; } - /** * Function GetBoardBoundingBox * calculates the bounding box containing all board items (or board edge segments). diff --git a/pcbnew/pcbplot.cpp b/pcbnew/pcbplot.cpp index 865dc2ac05..29713f7e06 100644 --- a/pcbnew/pcbplot.cpp +++ b/pcbnew/pcbplot.cpp @@ -220,15 +220,7 @@ void DIALOG_PLOT::Init_Dialog() m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() ); // Option to plot page references: - if( m_parent->GetPrintBorderAndTitleBlock() ) - { - m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef ); - } - else - { - m_plotSheetRef->Enable( false ); - m_plotSheetRef->SetValue( false ); - } + m_plotSheetRef->SetValue( m_plotOpts.m_PlotFrameRef ); // Option to plot pads on silkscreen layers or all layers m_plotPads_on_Silkscreen->SetValue( m_plotOpts.m_PlotPadsOnSilkLayer );