mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user