mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] use default update channel for 'Check for Updates' when selection combobox is not present
If an IDE disables combobox which allows users to change update channel, 'Check for Updates' button should use the default channel, not the first available channel as it was before. GitOrigin-RevId: 246feb949c69af0f8d53ca8b15966fe282495273
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f87747e9bd
commit
92f14ae1e3
+3
-1
@@ -81,7 +81,9 @@ class UpdateSettingsConfigurable @JvmOverloads constructor (private val checkNow
|
||||
settingsCopy.state.copyFrom(settings.state)
|
||||
settingsCopy.state.isCheckNeeded = true
|
||||
settingsCopy.state.isPluginsCheckNeeded = true
|
||||
settingsCopy.selectedChannelStatus = selectedChannel(channelModel.selected)
|
||||
if (channelSelectionLockedMessage == null) {
|
||||
settingsCopy.selectedChannelStatus = selectedChannel(channelModel.selected)
|
||||
}
|
||||
UpdateChecker.updateAndShowResult(project, settingsCopy)
|
||||
updateLastCheckedLabel(settings.lastTimeChecked)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user