diff --git a/pcbnew/dialogs/dialog_unused_pad_layers.cpp b/pcbnew/dialogs/dialog_unused_pad_layers.cpp
index 78bbc325aa..1611f9365e 100644
--- a/pcbnew/dialogs/dialog_unused_pad_layers.cpp
+++ b/pcbnew/dialogs/dialog_unused_pad_layers.cpp
@@ -72,20 +72,6 @@ void DIALOG_UNUSED_PAD_LAYERS::syncImages( wxCommandEvent& aEvent )
}
-void DIALOG_UNUSED_PAD_LAYERS::onScopeChange( wxCommandEvent& aEvent )
-{
- if( m_rbScope->GetSelection() == SCOPE_PADS )
- {
- m_cbPreservePads->SetValue( true );
- m_cbPreservePads->Disable();
- }
- else
- m_cbPreservePads->Enable();
-
- syncImages( aEvent );
-}
-
-
bool DIALOG_UNUSED_PAD_LAYERS::TransferDataFromWindow()
{
if( m_cbSelectedOnly->IsChecked() )
diff --git a/pcbnew/dialogs/dialog_unused_pad_layers.fbp b/pcbnew/dialogs/dialog_unused_pad_layers.fbp
index b209672a3e..13f27401ee 100644
--- a/pcbnew/dialogs/dialog_unused_pad_layers.fbp
+++ b/pcbnew/dialogs/dialog_unused_pad_layers.fbp
@@ -14,7 +14,6 @@
dialog_unused_pad_layers_base
1000
none
-
1
DIALOG_UNUSED_PAD_LAYERS_BASE
@@ -26,7 +25,6 @@
1
1
UI
- 0
0
0