mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: Refactor "MultipleLocalChangeListsBrowser" - remove deprecated "TreeUtil.invalidateCacheAndRepaint()" usage
Currently trees correctly handle nodes with changing sizes - see "LafManagerImpl.patchTreeUI()" GitOrigin-RevId: e090a3542a7a4123f1aca3e39d969d56edb5af4e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
918c5c6728
commit
8bce6cb5fe
+1
-2
@@ -35,7 +35,6 @@ import com.intellij.ui.SimpleTextAttributes;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.ui.JBUI;
|
||||
import com.intellij.util.ui.ThreeStateCheckBox.State;
|
||||
import com.intellij.util.ui.tree.TreeUtil;
|
||||
import com.intellij.util.ui.update.MergingUpdateQueue;
|
||||
import com.intellij.util.ui.update.Update;
|
||||
import com.intellij.vcs.commit.PartialCommitChangeNodeDecorator;
|
||||
@@ -597,7 +596,7 @@ class MultipleLocalChangeListsBrowser extends CommitDialogChangesBrowser impleme
|
||||
super.updateExclusionStates();
|
||||
|
||||
MyChangesBrowserTreeList.this.notifyInclusionListener();
|
||||
TreeUtil.invalidateCacheAndRepaint(MyChangesBrowserTreeList.this.getUI());
|
||||
MyChangesBrowserTreeList.this.repaint();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user