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

Open links from bot buttons with regular UrlClickHandler.

Fix render glitch in dialogs widget after search.
This commit is contained in:
John Preston
2016-08-03 19:18:23 +01:00
parent 80adba61d4
commit e87c1b6024
3 changed files with 3 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ void activateBotCommand(const HistoryItem *msg, int row, int col) {
case HistoryMessageReplyMarkup::Button::Url: {
auto url = QString::fromUtf8(button->data);
HiddenUrlClickHandler(url).onClick(Qt::LeftButton);
UrlClickHandler(url).onClick(Qt::LeftButton);
} break;
case HistoryMessageReplyMarkup::Button::RequestLocation: {