Fix applying "hide via bot" option when left-clicking results
This commit is contained in:
parent
34cf89ec59
commit
920a2c300e
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue