mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
PDEX: fix Show Usage window not updating
This commit is contained in:
@@ -273,8 +273,6 @@ public class PDEX {
|
||||
|
||||
// Find binding
|
||||
IBinding binding = ASTUtils.resolveBinding(name);
|
||||
|
||||
this.binding = binding;
|
||||
if (binding == null) {
|
||||
editor.statusMessage("Cannot find usages, try to fix errors in your code first",
|
||||
EditorStatus.ERROR);
|
||||
@@ -288,6 +286,8 @@ public class PDEX {
|
||||
// Thread: worker
|
||||
void findUsageAndUpdateTree(PreprocessedSketch ps, IBinding binding) {
|
||||
|
||||
this.binding = binding;
|
||||
|
||||
// Get label
|
||||
String bindingType = "";
|
||||
switch (binding.getKind()) {
|
||||
|
||||
Reference in New Issue
Block a user