IJPL-193590: [vcs-log] Fix Log toolwindow reopening when existing content selected

(cherry picked from commit 8799a8df09cab8035524103061bd5d5b51543a7b)

IJ-MR-168349

GitOrigin-RevId: 27b94e8ac00ac987a10428819f92dd4578cd3f62
This commit is contained in:
Aleksandr Krasilnikov
2025-07-07 16:30:34 +02:00
committed by intellij-monorepo-bot
parent 2f00f01546
commit 0aab0cdbf5

View File

@@ -63,6 +63,9 @@ object VcsLogContentUtil {
if (condition(logUi)) {
if (select) {
ContentUtilEx.selectContent(toolWindow.contentManager, it, true)
if (!toolWindow.isVisible) {
toolWindow.activate(null)
}
}
return logUi
}