mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove irrelevant ActionToolbarImpl.updateAllToolbarsImmediately(true)
GitOrigin-RevId: feecafe548e2374b881336bbfd347e2b7872cc07
This commit is contained in:
committed by
intellij-monorepo-bot
parent
defd2afabf
commit
8be8af8a94
-1
@@ -37,7 +37,6 @@ class StateWidgetManager(val project: Project) {
|
||||
|
||||
@JvmStatic
|
||||
private fun fireConfigurationChanged() {
|
||||
ActionToolbarImpl.updateAllToolbarsImmediately(true)
|
||||
ApplicationManager.getApplication().messageBus.syncPublisher(TOPIC).configurationChanged()
|
||||
}
|
||||
}
|
||||
|
||||
-8
@@ -26,14 +26,6 @@ open class PillActionComponent : AnAction(), CustomComponentAction, DumbAware {
|
||||
}
|
||||
|
||||
protected var actionGroup: ActionGroup? = null
|
||||
set(value) {
|
||||
val bla = field == null && value != null
|
||||
|
||||
field = value
|
||||
if (bla) {
|
||||
ActionToolbarImpl.updateAllToolbarsImmediately()
|
||||
}
|
||||
}
|
||||
|
||||
override fun actionPerformed(e: AnActionEvent) {
|
||||
|
||||
|
||||
-5
@@ -55,11 +55,6 @@ open class SegmentedBarActionComponent(val place: String = ActionPlaces.NEW_TOOL
|
||||
}
|
||||
|
||||
protected var actionGroup: ActionGroup? = null
|
||||
set(value) {
|
||||
if (field == value) return
|
||||
field = value
|
||||
ActionToolbarImpl.updateAllToolbarsImmediately()
|
||||
}
|
||||
|
||||
private val buttonLook = object : ActionButtonLook() {
|
||||
override fun paintBorder(g: Graphics, c: JComponent, state: Int) {
|
||||
|
||||
Reference in New Issue
Block a user