mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
Improve inserting placemark in ChatLobby.
*append* inserts text at end but with formatting in effect at current cursor position, such as in the middle of a hotlink, which would be strange. This OTOH inserts text with formatting in effect on the last line, which may be strange or not.
This commit is contained in:
parent
26af7c900e
commit
8be53dd79a
@ -1725,7 +1725,11 @@ void ChatWidget::quote()
|
||||
|
||||
void ChatWidget::dropPlacemark()
|
||||
{
|
||||
ui->textBrowser->append("----------");
|
||||
ui->textBrowser->moveCursor(QTextCursor::End); // *append* inserts text at end but with formatting in effect at
|
||||
ui->textBrowser->append("----------"); // current cursor position, such as in the middle of a hotlink,
|
||||
// which would be strange. This OTOH inserts text with
|
||||
// formatting in effect on the last line, which may be strange
|
||||
// or not.
|
||||
}
|
||||
|
||||
void ChatWidget::saveImage()
|
||||
|
Loading…
Reference in New Issue
Block a user