mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-15 12:32:37 -04:00
fixed transfer of color when pasting text (patch from AC)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c6a7dba418
commit
771ae5ba58
1 changed files with 3 additions and 0 deletions
|
@ -522,12 +522,14 @@ void ChatWidget::pasteText(const QString& S)
|
|||
{
|
||||
//std::cerr << "In paste link" << std::endl;
|
||||
ui->chatTextEdit->insertHtml(S);
|
||||
setColorAndFont();
|
||||
}
|
||||
|
||||
void ChatWidget::pasteLink()
|
||||
{
|
||||
//std::cerr << "In paste link" << std::endl;
|
||||
ui->chatTextEdit->insertHtml(RSLinkClipboard::toHtml());
|
||||
setColorAndFont();
|
||||
}
|
||||
|
||||
void ChatWidget::pasteOwnCertificateLink()
|
||||
|
@ -538,6 +540,7 @@ void ChatWidget::pasteOwnCertificateLink()
|
|||
|
||||
if( link.createCertificate(ownId) ) {
|
||||
ui->chatTextEdit->insertHtml(link.toHtml() + " ");
|
||||
setColorAndFont();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue