2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

langs updated, link click async in overviewwidget

This commit is contained in:
John Preston
2016-02-21 15:47:30 +03:00
parent 6a299e32d3
commit 9fec887044
4 changed files with 7 additions and 5 deletions

View File

@@ -560,8 +560,9 @@ void OverviewInner::dragActionFinish(const QPoint &screenPos, Qt::MouseButton bu
}
}
if (needClick) {
needClick->onClick(button);
DEBUG_LOG(("Will click link: %1 (%2) %3").arg(needClick->text()).arg(needClick->readable()).arg(needClick->encoded()));
dragActionCancel();
App::activateTextLink(needClick, button);
return;
}
if (_dragAction == PrepareSelect && !needClick && !_dragWasInactive && !_selected.isEmpty() && _selected.cbegin().value() == FullSelection) {