Clear text fields after login
This commit is contained in:
parent
239780557f
commit
407afcd2f2
3 changed files with 9 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ void MainWindow::showChatPage(QString userid, QString homeserver, QString token)
|
|||
int index = sliding_stack_->getWidgetIndex(chat_page_);
|
||||
sliding_stack_->slideInIndex(index, SlidingStackWidget::AnimationDirection::LEFT_TO_RIGHT);
|
||||
|
||||
login_page_->reset();
|
||||
chat_page_->bootstrap(userid, homeserver, token);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue