Skip to content

Commit

Permalink
amend: Restrict api selection to single item in ApiCall (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
tangcent authored Nov 22, 2023
1 parent 8adfdc3 commit 9a44b34
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ private class ApiCallPanel : BorderLayoutPanel() {
searchTextField = JTextField()

// API List Panel
apisJList = JBList<Any>()
apisJList = JBList<Any>().apply {
selectionMode = ListSelectionModel.SINGLE_SELECTION
}
apisListPanel = JScrollPane(apisJList)

// Left Panel for Search and API List
Expand Down

0 comments on commit 9a44b34

Please sign in to comment.