put in changed to WindowActionManager that was supposed to be in commit

bb28af6 "Improved the per..." Also added null check in
AbstractDecompilerAction
This commit is contained in:
ghidravore
2020-03-16 15:16:32 -04:00
parent baba200286
commit b30657cd83
2 changed files with 4 additions and 1 deletions
@@ -94,6 +94,9 @@ public abstract class AbstractDecompilerAction extends DockingAction {
* @return the associated HighSymbol or null if one can't be found
*/
public static HighSymbol findHighSymbolFromToken(ClangToken token, HighFunction highFunction) {
if (highFunction == null) {
return null;
}
HighVariable variable = token.getHighVariable();
HighSymbol highSymbol = null;
if (variable == null) {
@@ -108,7 +108,7 @@ public class WindowActionManager {
// In order to make the action updating be as responsive as possible and still be complete,
// we have chosen a policy that will reduce a flurry of contextChanged call into two
// actual calls - one that occurs immediately and one when the flurry times out.
updateManager.updateLater();
updateManager.update();
}
private synchronized void processContextChanged() {