Skip to content

Commit fde7793

Browse files
Update AndroidToolbar.java
1 parent e3430c9 commit fde7793

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

mode/src/processing/mode/android/AndroidToolbar.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ static public String getTitle(int index) {
8282
@Override
8383
public List<EditorButton> createButtons() {
8484
// aEditor not ready yet because this is called by super()
85-
// final boolean debug = ((AndroidEditor) editor).isDebuggerEnabled();
86-
final boolean debug = false;
85+
final boolean debug = ((AndroidEditor) editor).isDebuggerEnabled();
86+
// final boolean debug = false;
8787

8888

8989
ArrayList<EditorButton> toReturn = new ArrayList<EditorButton>();
@@ -150,7 +150,7 @@ private void handleStep(int modifiers) {
150150

151151
@Override
152152
public void addModeButtons(Box box, JLabel label) {
153-
/*
153+
154154
EditorButton debugButton =
155155
new EditorButton(this, "/lib/toolbar/debug",
156156
Language.text("toolbar.debug")) {
@@ -166,7 +166,7 @@ public void actionPerformed(ActionEvent e) {
166166
// debugButton.setRolloverLabel(label);
167167
box.add(debugButton);
168168
addGap(box);
169-
*/
169+
170170
}
171171

172172
@Override
@@ -216,4 +216,3 @@ public void deactivateStep() {
216216
repaint();
217217
}
218218
}
219-

0 commit comments

Comments
 (0)