Commit 897d50c8 authored by ebruneton's avatar ebruneton

added code to synchronize stack and lvt when selection is "empty"

parent 01f429c9
......@@ -830,6 +830,9 @@ public class BytecodeOutlineView extends ViewPart {
if (frame != null) {
lvtControl.setText(frame[0]);
stackControl.setText(frame[1]);
} else {
lvtControl.setText("");
stackControl.setText("");
}
tableControl.setSelection(decompiledLine);
} else {
......@@ -843,6 +846,9 @@ public class BytecodeOutlineView extends ViewPart {
} catch (IllegalArgumentException e) {
BytecodeOutlinePlugin.error(null, e);
}
} else if (verifyCode) {
lvtControl.setText("");
stackControl.setText("");
}
}
......@@ -878,6 +884,9 @@ public class BytecodeOutlineView extends ViewPart {
if (frame != null) {
lvtControl.setText(frame[0]);
stackControl.setText(frame[1]);
} else {
lvtControl.setText("");
stackControl.setText("");
}
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment