Fix applying "hide via bot" option when left-clicking results

This commit is contained in:
Eric Kotato 2021-08-15 18:51:14 +03:00
parent 34cf89ec59
commit 920a2c300e

View file

@ -248,7 +248,7 @@ void Inner::mouseReleaseEvent(QMouseEvent *e) {
if (dynamic_cast<SendClickHandler*>(activated.get()) || open) { if (dynamic_cast<SendClickHandler*>(activated.get()) || open) {
const auto row = int(_selected / MatrixRowShift); const auto row = int(_selected / MatrixRowShift);
const auto column = int(_selected % MatrixRowShift); const auto column = int(_selected % MatrixRowShift);
selectInlineResult(row, column, {}, !!open); selectInlineResult(row, column, { .hideVia = cHideVia() }, !!open);
} else { } else {
ActivateClickHandler(window(), activated, e->button()); ActivateClickHandler(window(), activated, e->button());
} }