We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4c6da commit 092b565Copy full SHA for 092b565
1 file changed
advanced_new_file/commands/new_file_command.py
@@ -1,3 +1,4 @@
1
+import sublime
2
import sublime_plugin
3
import os
4
import xml.etree.ElementTree as ET
@@ -72,7 +73,7 @@ def on_load(self, view):
72
73
entries = list(map(self.get_basename, template))
74
self.entries = list(map(self.expand_path, template))
75
self.view = view
- view.window().show_quick_panel(entries, self.quick_panel_selection)
76
+ sublime.set_timeout(lambda: view.window().show_quick_panel(entries, self.quick_panel_selection), 10)
77
else:
78
view.run_command("insert_snippet", {"contents": template})
79
view.settings().set("_anf_new", "")
0 commit comments