aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-20 05:31:25 -0400
committerbobzel <zzzman@gmail.com>2022-06-20 05:31:25 -0400
commitc0826fb904f5d2448635b5dae1fc4337fead939e (patch)
tree212d37de8064cb180856e7bd26173dd27ba859ba /src/client/views/GlobalKeyHandler.ts
parent3351c0372a8372a3e91bbd814f827a8b984f8665 (diff)
lots of changes to try to cleanup CurrentUserUtils so changes can be made without rebuilding the DB.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index 767efdbc2..16d7c9a23 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -235,7 +235,7 @@ export class KeyManager {
if (SelectionManager.Views().length === 1 && SelectionManager.Views()[0].ComponentView?.search) {
SelectionManager.Views()[0].ComponentView?.search?.("", false, false);
} else {
- const searchBtn = Doc.UserDoc().searchBtn as Doc;
+ const searchBtn = CurrentUserUtils.MySearcher;
if (searchBtn) {
MainView.Instance.selectMenu(searchBtn);
}