mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
[kotlin] Fix saving the settings of the openInEditor checkbox in move dialog
#KTIJ-31264 Fixed GitOrigin-RevId: 6e55088c600695aab1ba0b2dda970ce399f7c09d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
22c3b2a947
commit
d66d564778
@@ -48,11 +48,11 @@ class K2MoveDialog(project: Project, private val model: K2MoveModel) : Refactori
|
||||
private fun saveSettings() {
|
||||
mainPanel.apply()
|
||||
KotlinCommonRefactoringSettings.getInstance().MOVE_PREVIEW_USAGES = isPreviewUsages
|
||||
PropertiesComponent.getInstance().setValue("MoveFile.OpenInEditor", isOpenInEditor)
|
||||
}
|
||||
|
||||
override fun doAction() {
|
||||
saveSettings()
|
||||
if (isOpenInEditor) PropertiesComponent.getInstance().setValue("MoveFile.OpenInEditor", true)
|
||||
val descriptor = ActionUtil.underModalProgress(
|
||||
project,
|
||||
KotlinBundle.message("preparing.move.descriptor")
|
||||
|
||||
Reference in New Issue
Block a user