mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-262349: add missing tooltips
GitOrigin-RevId: 4ea68a1259e961066b06a10f110b89d9bce8ab88
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ba6afd02e0
commit
287c80b784
@@ -76,7 +76,7 @@ class Tag<Settings : FragmentedSettings>(
|
||||
var setter: (Settings, Boolean) -> Unit = { _, _ -> }
|
||||
|
||||
@Nls
|
||||
var toolTip: String? = actionHint
|
||||
var toolTip: String? = null
|
||||
|
||||
var validation: ((Settings, TagButton) -> ValidationInfo?)? = null
|
||||
|
||||
@@ -96,7 +96,7 @@ class Tag<Settings : FragmentedSettings>(
|
||||
it.validation = validation
|
||||
it.actionDescription = actionDescription
|
||||
}.build().also {
|
||||
it.component().setToolTip(toolTip)
|
||||
it.component().setToolTip(toolTip ?: actionHint)
|
||||
if (holder == null) {
|
||||
ref.set(it)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user