194 - Proper use of project-level light service (#216)

This commit is contained in:
Carl-Robert 2023-09-28 00:45:10 +03:00 committed by GitHub
parent 439c231658
commit f502e3b43c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 17 deletions

View file

@ -122,6 +122,6 @@ public class SettingsConfigurable implements Configurable, Disposable {
throw new RuntimeException("Could not find current project.");
}
StandardChatToolWindowContentManager.getInstance(project).resetActiveTab();
project.getService(StandardChatToolWindowContentManager.class).resetActiveTab();
}
}