add hush/sd emoji, scroll to the end of chat after clicking new contact

This commit is contained in:
DenioD
2020-06-22 11:13:10 +02:00
parent 5907b40f1c
commit ab2140b72d
8 changed files with 57 additions and 3 deletions

View File

@@ -101,6 +101,9 @@ void Controller::setConnection(Connection* c)
ui->listContactWidget
);
ui->listChat->verticalScrollBar()->setValue(
ui->listChat->verticalScrollBar()->maximum());
}
std::string Controller::encryptDecrypt(std::string toEncrypt)
@@ -1482,6 +1485,8 @@ void Controller::refreshChat(QListView *listWidget, QLabel *label)
void Controller::refreshContacts(QListView *listWidget)
{
contactModel->renderContactList(listWidget);
ui->listChat->verticalScrollBar()->setValue(
ui->listChat->verticalScrollBar()->maximum());
}
// If the wallet is encrpyted and locked, we need to unlock it