Skip to content

Commit d938fe4

Browse files
committed
refactor(WorkspaceFilePanel): rename config button to McpConfigButton
1 parent 474c3b1 commit d938fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/kotlin/cc/unitmesh/devti/gui/chat/ui/file/WorkspaceFilePanel.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ class WorkspaceFilePanel(private val project: Project) : JPanel(BorderLayout())
2626

2727
filesPanel.isOpaque = false
2828
filesPanel.add(createAddButton())
29-
filesPanel.add(createConfigButton())
29+
filesPanel.add(createMcpConfigButton())
3030

3131
add(filesPanel, BorderLayout.NORTH)
3232
isOpaque = false
3333
}
3434

35-
private fun createConfigButton(): JComponent {
35+
private fun createMcpConfigButton(): JComponent {
3636
return createActionButton(McpConfigAction())
3737
}
3838

@@ -82,7 +82,7 @@ class WorkspaceFilePanel(private val project: Project) : JPanel(BorderLayout())
8282
private fun updateFilesPanel() {
8383
filesPanel.removeAll()
8484
filesPanel.add(createAddButton())
85-
filesPanel.add(createConfigButton())
85+
filesPanel.add(createMcpConfigButton())
8686

8787
for (filePresentation in workspaceFiles) {
8888
val fileLabel = FileItemPanel(project, filePresentation) {

0 commit comments

Comments
 (0)