mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
inspection tool window: GlobalInspectionContextImpl must to reset view state
This commit is contained in:
+9
-1
@@ -779,7 +779,15 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
|
||||
|
||||
@Override
|
||||
public void close(boolean noSuspisiousCodeFound) {
|
||||
if (!noSuspisiousCodeFound && (myView == null || myView.isRerun())) return;
|
||||
if (!noSuspisiousCodeFound) {
|
||||
if (myView.isRerun()) {
|
||||
myViewClosed = true;
|
||||
myView = null;
|
||||
}
|
||||
if (myView == null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
AnalysisUIOptions.getInstance(getProject()).save(myUIOptions);
|
||||
if (myContent != null) {
|
||||
final ContentManager contentManager = getContentManager();
|
||||
|
||||
Reference in New Issue
Block a user