init prevModCount with default mod count

This commit is contained in:
Gregory.Shrago
2018-03-03 01:00:40 +03:00
parent 4556c00b97
commit 19ccffcda4
@@ -874,7 +874,7 @@ public class StructureViewComponent extends SimpleToolWindowPanel implements Tre
private MyPsiTreeChangeListener(PsiModificationTracker modTracker, Runnable onChange) {
this.modTracker = modTracker;
this.onChange = onChange;
prevModCount = modTracker.getOutOfCodeBlockModificationCount();
prevModCount = modTracker.getModificationCount();
}
@Override