2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Shared media multiple items selection.

This commit is contained in:
John Preston
2017-10-13 22:07:04 +03:00
parent 66146c382d
commit 54cc3e6315
23 changed files with 1117 additions and 579 deletions

View File

@@ -644,8 +644,10 @@ void Inner::updateSelected() {
}
if (col < inlineItems.size()) {
sel = row * MatrixRowShift + col;
inlineItems.at(col)->getState(lnk, cursor, QPoint(sx, sy));
lnkhost = inlineItems.at(col);
auto result = inlineItems[col]->getState(QPoint(sx, sy), HistoryStateRequest());
lnk = result.link;
cursor = result.cursor;
lnkhost = inlineItems[col];
} else {
row = col = -1;
}