mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Jump to chat only by Double-Click on preview.
This commit is contained in:
@@ -434,7 +434,7 @@ void Item::setupHistory() {
|
||||
_scroll->setOverscrollTypes(Type::Real, Type::Real);
|
||||
|
||||
_scroll->events() | rpl::start_with_next([=](not_null<QEvent*> e) {
|
||||
if (e->type() == QEvent::MouseButtonPress) {
|
||||
if (e->type() == QEvent::MouseButtonDblClick) {
|
||||
const auto button = static_cast<QMouseEvent*>(e.get())->button();
|
||||
if (button == Qt::LeftButton) {
|
||||
const auto relative = Ui::MapFrom(
|
||||
|
||||
Reference in New Issue
Block a user