mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 13:16:48 +08:00
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:
+3
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user