2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Removed tabbing navigation from short info box.

This commit is contained in:
23rd
2023-07-25 02:10:44 +03:00
parent 921aeb3083
commit 065eb8e63c
2 changed files with 4 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "media/streaming/media_streaming_instance.h" #include "media/streaming/media_streaming_instance.h"
#include "media/streaming/media_streaming_player.h" #include "media/streaming/media_streaming_player.h"
#include "base/event_filter.h" #include "base/event_filter.h"
#include "base/qt/qt_tab_key.h"
#include "lang/lang_keys.h" #include "lang/lang_keys.h"
#include "styles/style_boxes.h" #include "styles/style_boxes.h"
#include "styles/style_layers.h" #include "styles/style_layers.h"
@@ -670,6 +671,8 @@ PeerShortInfoBox::PeerShortInfoBox(
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=] {
_cover.setScrollTop(_scroll->scrollTop()); _cover.setScrollTop(_scroll->scrollTop());
}, _cover.lifetime()); }, _cover.lifetime());
base::DisableTabKey(this);
} }
PeerShortInfoBox::~PeerShortInfoBox() = default; PeerShortInfoBox::~PeerShortInfoBox() = default;