mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-09 05:50:08 +00:00
make ssh the default quick-connect profile - fixes #4181
This commit is contained in:
parent
b9763044ee
commit
891cf42338
@ -91,12 +91,14 @@ export class ButtonProvider extends ToolbarButtonProvider {
|
|||||||
|
|
||||||
quickConnect (query: string) {
|
quickConnect (query: string) {
|
||||||
for (const provider of this.profilesServices.getProviders()) {
|
for (const provider of this.profilesServices.getProviders()) {
|
||||||
|
if (provider.supportsQuickConnect) {
|
||||||
const profile = provider.quickConnect(query)
|
const profile = provider.quickConnect(query)
|
||||||
if (profile) {
|
if (profile) {
|
||||||
this.launchProfile(profile)
|
this.launchProfile(profile)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.notifications.error(`Could not parse "${query}"`)
|
this.notifications.error(`Could not parse "${query}"`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user