diff options
Diffstat (limited to 'src/modules/launcher/index.tsx')
| -rw-r--r-- | src/modules/launcher/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/launcher/index.tsx b/src/modules/launcher/index.tsx index 8287187..f3a1e53 100644 --- a/src/modules/launcher/index.tsx +++ b/src/modules/launcher/index.tsx @@ -123,7 +123,7 @@ export default class Launcher extends PopupWindow { ); this.hook(entry, "activate", () => { (isAction(entry.get_text()) ? actions : content[mode.get()]).handleActivate(entry.get_text()); - entry.set_text(""); // Clear search on activate + if (mode.get() === "math" && !isAction(entry.get_text())) entry.set_text(""); // Cause math mode doesn't auto clear }); // Clear search on hide if not in math mode or creating a todo |