diff --git a/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/dialog/ApiCallDialog.kt b/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/dialog/ApiCallDialog.kt index 6f69f5b3..eb422517 100644 --- a/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/dialog/ApiCallDialog.kt +++ b/idea-plugin/src/main/kotlin/com/itangcent/idea/plugin/dialog/ApiCallDialog.kt @@ -99,7 +99,9 @@ private class ApiCallPanel : BorderLayoutPanel() { searchTextField = JTextField() // API List Panel - apisJList = JBList() + apisJList = JBList().apply { + selectionMode = ListSelectionModel.SINGLE_SELECTION + } apisListPanel = JScrollPane(apisJList) // Left Panel for Search and API List