mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-250748 [git] Git merge dialog: re-select field text after options update
GitOrigin-RevId: f7aff7507701e8202789ad6c7d6e88acbd2d41f3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6ab711e7f7
commit
97586f00b7
@@ -240,6 +240,7 @@ class GitMergeDialog(private val project: Project,
|
||||
}
|
||||
|
||||
branchField.item = branchToSelect
|
||||
branchField.selectAll()
|
||||
}
|
||||
|
||||
private fun splitAndSortBranches(branches: List<@NlsSafe String>): List<@NlsSafe String> {
|
||||
|
||||
@@ -76,6 +76,10 @@ class ComboBoxWithAutoCompletion<E>(model: ComboBoxModel<E>,
|
||||
}
|
||||
}
|
||||
|
||||
fun selectAll() {
|
||||
myEditableComponent?.selectAll()
|
||||
}
|
||||
|
||||
private fun initEditor() {
|
||||
val editableComponent = createEditableComponent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user