mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cosmetics
This commit is contained in:
@@ -108,7 +108,7 @@ public abstract class EvaluationDialog extends DialogWrapper {
|
||||
}
|
||||
try {
|
||||
setOKActionEnabled(false);
|
||||
NodeDescriptorImpl descriptor = myEvaluationPanel.getWatchTree().addWatch(codeToEvaluate, "Result").getDescriptor();
|
||||
NodeDescriptorImpl descriptor = myEvaluationPanel.getWatchTree().addWatch(codeToEvaluate, "result").getDescriptor();
|
||||
if (descriptor instanceof EvaluationDescriptor) {
|
||||
final EvaluationDescriptor evalDescriptor = (EvaluationDescriptor)descriptor;
|
||||
evalDescriptor.setCodeFragmentFactory(myEditor.getCurrentFactory());
|
||||
|
||||
Reference in New Issue
Block a user