mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
merged with master fix of report spam button
This commit is contained in:
@@ -820,7 +820,7 @@ void OverviewInner::onDragExec() {
|
||||
}
|
||||
drag->setMimeData(mimeData);
|
||||
drag->exec(Qt::CopyAction);
|
||||
dragActionUpdate(QCursor::pos());
|
||||
if (App::main()) App::main()->updateAfterDrag();
|
||||
return;
|
||||
} else {
|
||||
HistoryItem *pressedLnkItem = App::pressedLinkItem(), *pressedItem = App::pressedItem();
|
||||
@@ -847,7 +847,7 @@ void OverviewInner::onDragExec() {
|
||||
|
||||
drag->setMimeData(mimeData);
|
||||
drag->exec(Qt::CopyAction);
|
||||
dragActionUpdate(QCursor::pos());
|
||||
if (App::main()) App::main()->updateAfterDrag();
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -2855,6 +2855,10 @@ void OverviewWidget::updateScrollColors() {
|
||||
_scroll.updateColors(App::historyScrollBarColor(), App::historyScrollBgColor(), App::historyScrollBarOverColor(), App::historyScrollBgOverColor());
|
||||
}
|
||||
|
||||
void OverviewWidget::updateAfterDrag() {
|
||||
_inner.dragActionUpdate(QCursor::pos());
|
||||
}
|
||||
|
||||
OverviewWidget::~OverviewWidget() {
|
||||
onClearSelected();
|
||||
updateTopBarSelection();
|
||||
|
Reference in New Issue
Block a user