fix for code that wasn't removed properly

This commit is contained in:
benfry
2008-08-19 18:51:21 +00:00
parent 352abbbce2
commit d6ee23c1eb
-5
View File
@@ -48,8 +48,6 @@ public class EditorHeader extends JComponent {
JMenu menu;
JPopupMenu popup;
JMenuItem hideItem;
int menuLeft;
int menuRight;
@@ -172,9 +170,6 @@ public class EditorHeader extends JComponent {
tabRight = new int[codeCount];
}
// disable hide on the first tab
hideItem.setEnabled(sketch.getCurrentCode() != sketch.getCode(0));
int x = 6; // offset from left edge of the component
for (int i = 0; i < sketch.getCodeCount(); i++) {
SketchCode code = sketch.getCode(i);