Skip to content

Commit

Permalink
fix(plugin-files): Fix autocomplete not working with files plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Dec 29, 2020
1 parent 1c110ff commit 27e79aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialog_launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ export class Launcher extends search.Search {
this.last_plugin = null

this.service.query(pattern, (plugin, response) => {
if (!this.last_plugin) this.last_plugin = plugin;

if (response.event === "queried") {
for (const selection of response.selections) {
if (!this.last_plugin) this.last_plugin = plugin;

let icon = null
if (selection.icon) {
icon = { name: selection.icon }
Expand Down

0 comments on commit 27e79aa

Please sign in to comment.