diff options
Diffstat (limited to 'src/ui/ui_fsm.cpp')
| -rw-r--r-- | src/ui/ui_fsm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index f4b56a27..4a196f5d 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -399,7 +399,7 @@ void Indexing::entry() { // TODO: Hmm. return; } - db->updateIndexes(); + sServices->bg_worker().Dispatch<void>([=]() { db->updateIndexes(); }); } void Indexing::exit() { |
