From 065eb8e63cbd3ea365dbbca5036d095d91f7d75a Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Tue, 25 Jul 2023 02:10:44 +0300 Subject: [PATCH] Removed tabbing navigation from short info box. --- Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp | 3 +++ Telegram/lib_base | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp index bc07210f6..b1d6ab7b0 100644 --- a/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/peer_short_info_box.cpp @@ -20,6 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "media/streaming/media_streaming_instance.h" #include "media/streaming/media_streaming_player.h" #include "base/event_filter.h" +#include "base/qt/qt_tab_key.h" #include "lang/lang_keys.h" #include "styles/style_boxes.h" #include "styles/style_layers.h" @@ -670,6 +671,8 @@ PeerShortInfoBox::PeerShortInfoBox( ) | rpl::start_with_next([=] { _cover.setScrollTop(_scroll->scrollTop()); }, _cover.lifetime()); + + base::DisableTabKey(this); } PeerShortInfoBox::~PeerShortInfoBox() = default; diff --git a/Telegram/lib_base b/Telegram/lib_base index 2669a0457..77a89e3c8 160000 --- a/Telegram/lib_base +++ b/Telegram/lib_base @@ -1 +1 @@ -Subproject commit 2669a04579069942b6208a18abe93c26adfddf2a +Subproject commit 77a89e3c857353acac83817e6ff354b962edb45c