mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Theme preview ready.
Also style::color is now copyable, constructed only inside a palette. Also macOS setup new background ready.
This commit is contained in:
@@ -39,7 +39,7 @@ PwdCheckWidget::PwdCheckWidget(QWidget *parent, Widget::Data *data) : Step(paren
|
||||
, _hasRecovery(getData()->hasRecovery)
|
||||
, _hint(getData()->pwdHint)
|
||||
, _pwdField(this, st::introPassword, lang(lng_signin_password))
|
||||
, _pwdHint(this, st::introPasswordHint, st::introPasswordHintTextStyle)
|
||||
, _pwdHint(this, st::introPasswordHint)
|
||||
, _codeField(this, st::introPassword, lang(lng_signin_code))
|
||||
, _toRecover(this, lang(lng_signin_recover))
|
||||
, _toPassword(this, lang(lng_signin_try_password))
|
||||
@@ -77,9 +77,9 @@ void PwdCheckWidget::resizeEvent(QResizeEvent *e) {
|
||||
|
||||
void PwdCheckWidget::setInnerFocus() {
|
||||
if (_pwdField->isHidden()) {
|
||||
_codeField->setFocus();
|
||||
_codeField->setFocusFast();
|
||||
} else {
|
||||
_pwdField->setFocus();
|
||||
_pwdField->setFocusFast();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user