2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Closed beta 10019011: fixed build in Xcode, langs updated.

This commit is contained in:
John Preston
2016-12-04 22:40:41 +03:00
parent b0f14d1856
commit 3e6d483939
13 changed files with 65 additions and 52 deletions

View File

@@ -605,6 +605,11 @@ void DialogsInner::leaveEvent(QEvent *e) {
clearSelection();
}
void DialogsInner::dragLeft() {
setMouseTracking(false);
clearSelection();
}
void DialogsInner::clearSelection() {
_selByMouse = false;
if (_importantSwitchSel || _sel || _filteredSel >= 0 || _hashtagSel >= 0 || _searchedSel >= 0 || _peopleSel >= 0) {
@@ -2233,7 +2238,7 @@ void DialogsWidget::dragMoveEvent(QDragMoveEvent *e) {
}
} else {
if (_dragForward) updateDragInScroll(false);
_inner->leaveEvent(0);
_inner->dragLeft();
e->setDropAction(Qt::IgnoreAction);
}
e->accept();
@@ -2245,7 +2250,7 @@ void DialogsWidget::dragLeaveEvent(QDragLeaveEvent *e) {
} else {
_chooseByDragTimer.stop();
}
_inner->leaveEvent(0);
_inner->dragLeft();
e->accept();
}