Fix search by recently used hashtags.

This commit is contained in:
John Preston 2022-11-03 18:45:15 +04:00
parent 9d313d2827
commit fdee5f9227
1 changed files with 3 additions and 1 deletions

View File

@ -307,7 +307,9 @@ Widget::Widget(
QObject::connect(
_filter->rawTextEdit().get(),
&QTextEdit::cursorPositionChanged,
[=] { filterCursorMoved(); });
this,
[=] { filterCursorMoved(); },
Qt::QueuedConnection); // So getLastText() works already.
if (!Core::UpdaterDisabled()) {
Core::UpdateChecker checker;