fix: selected terminal tab when transferring to a host

This commit is contained in:
hstyi
2025-11-11 10:43:13 +08:00
committed by hstyi
parent 013b03f9ef
commit 0615378a17

View File

@@ -46,6 +46,7 @@ class TransferAnAction : AnAction(I18n.getString("termora.transport.sftp"), Icon
val panel = tabbed.getTransportPanel(i) ?: continue
if (panel.host.id == host.id) {
tabbed.selectedIndex = i
terminalTabbedManager.setSelectedTerminalTab(sftpTab)
return
}
}