mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Add TabbedSection which uses the TabbedSelector.
This commit is contained in:
@@ -29,6 +29,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
#include "ui/widgets/input_fields.h"
|
||||
#include "styles/style_boxes.h"
|
||||
#include "window/window_slide_animation.h"
|
||||
#include "window/window_controller.h"
|
||||
#include "auth_session.h"
|
||||
|
||||
PasscodeWidget::PasscodeWidget(QWidget *parent) : TWidget(parent)
|
||||
@@ -187,6 +188,8 @@ void PasscodeWidget::resizeEvent(QResizeEvent *e) {
|
||||
}
|
||||
|
||||
void PasscodeWidget::setInnerFocus() {
|
||||
Global::RefDialogsListFocused().set(false, true);
|
||||
if (auto controller = App::wnd()->controller()) {
|
||||
controller->dialogsListFocused().set(false, true);
|
||||
}
|
||||
_passcode->setFocusFast();
|
||||
}
|
||||
|
Reference in New Issue
Block a user