mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Fix RIDER-111570: ReSharper settings should not be configurable
They are always imported by default. GitOrigin-RevId: 7ef044ccd6764afdcd8ce55d5b4441a017cf14d6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a48ed40146
commit
27448aaa65
@@ -98,7 +98,7 @@ abstract class SettingChooserPage(private val provider: ActionsDataProvider<*>,
|
||||
val listPane = JPanel(VerticalLayout(0)).apply {
|
||||
isOpaque = false
|
||||
productService.getSettings(product.id).forEach {
|
||||
val st = createSettingPane(it, configurable, { changeHandler() }, this@SettingChooserPage)
|
||||
val st = createSettingPane(it, it.isConfigurable && configurable, { changeHandler() }, this@SettingChooserPage)
|
||||
settingPanes.add(st)
|
||||
add(st.component())
|
||||
}
|
||||
|
||||
@@ -253,6 +253,12 @@ interface BaseSetting {
|
||||
val icon: Icon
|
||||
val name: @Nls String
|
||||
val comment: @Nls String?
|
||||
|
||||
/**
|
||||
* Whether the user should be allowed to turn the setting on and off.
|
||||
*/
|
||||
val isConfigurable: Boolean
|
||||
get() = true
|
||||
}
|
||||
|
||||
interface Configurable : Multiple {
|
||||
|
||||
Reference in New Issue
Block a user