From 4908cbb8075f67a1ff764041a3e1d7f66efbd13d Mon Sep 17 00:00:00 2001 From: John Lewin Date: Wed, 7 Nov 2018 13:23:35 -0800 Subject: [PATCH] Remove dead code --- .../SlicerConfiguration/UIFields/SurfacedEditorPage.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/MatterControlLib/SlicerConfiguration/UIFields/SurfacedEditorPage.cs b/MatterControlLib/SlicerConfiguration/UIFields/SurfacedEditorPage.cs index 5c3aaa7c1..2f3ca278a 100644 --- a/MatterControlLib/SlicerConfiguration/UIFields/SurfacedEditorPage.cs +++ b/MatterControlLib/SlicerConfiguration/UIFields/SurfacedEditorPage.cs @@ -131,14 +131,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration }; tabControl.AddTab(previewTab); - tabControl.ActiveTabChanged += (s, e) => - { - if (tabControl.SelectedTabIndex == 1) - { - // dummyWidget.Markdown = editWidget.Text; - } - }; - tabControl.SelectedTabIndex = 0; var saveButton = theme.CreateDialogButton("Save".Localize());