Commit 2a10e62d authored by Simon Barner's avatar Simon Barner
Browse files

- forceFullUpdate(): Avoid NPE if called before first ordinary update

parent f3f45da3
......@@ -329,8 +329,10 @@ public abstract class AnnotationViewPartBase extends ViewPart implements ISelect
/** Enforces a full update of the view based on {@link #lastRootElement}. */
private void forceFullUpdate() {
if(lastRootElement != null) {
/** Sets {@link #isUpdateEnabled}. If the update is re-enabled, the view is refreshed. */
public static synchronized void setUpdateEnabled(boolean isUpdateEnabled) {
Supports Markdown
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