2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Save value without closing the passport panel.

This commit is contained in:
John Preston
2018-04-06 22:47:29 +04:00
parent d0e854e9d8
commit 35dcbe0aa0
10 changed files with 196 additions and 104 deletions

View File

@@ -405,13 +405,15 @@ void Controller::showJumpToDate(Dialogs::Key chat, QDate requestedDate) {
Ui::show(std::move(box));
}
void Controller::showAuthForm(const Passport::FormRequest &request) {
_authForm = std::make_unique<Passport::FormController>(this, request);
_authForm->show();
void Controller::showPassportForm(const Passport::FormRequest &request) {
_passportForm = std::make_unique<Passport::FormController>(
this,
request);
_passportForm->show();
}
void Controller::clearAuthForm() {
_authForm = nullptr;
void Controller::clearPassportForm() {
_passportForm = nullptr;
}
void Controller::updateColumnLayout() {