Skip to content

Commit

Permalink
Merged branch idea243.release into idea243.x
Browse files Browse the repository at this point in the history
  • Loading branch information
builduser committed Feb 3, 2025
2 parents 26c2196 + 5e2db49 commit 173fb17
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package org.jetbrains.plugins.scala.components
import com.intellij.openapi.project.Project
import com.intellij.openapi.wm.WindowManager
import com.intellij.openapi.wm.impl.status.widget.StatusBarWidgetsManager
import org.jetbrains.plugins.scala.extensions.executeOnPooledThread

object TypeAwareWidgetUpdater {
def updateWidget(project: Project): Unit = {
def updateWidget(project: Project): Unit = executeOnPooledThread {
if (project.isDisposed) return
project.getService(classOf[StatusBarWidgetsManager]).updateWidget(classOf[TypeAwareWidgetFactory])
val statusBar = WindowManager.getInstance().getStatusBar(project)
Expand Down

0 comments on commit 173fb17

Please sign in to comment.