Join block format changing to the same edit block.
This commit is contained in:
parent
b2653606be
commit
34fcd4981d
1 changed files with 2 additions and 0 deletions
|
|
@ -3642,8 +3642,10 @@ void InputField::commitMarkdownLinkEdit(
|
|||
|
||||
_reverseMarkdownReplacement = false;
|
||||
_correcting = true;
|
||||
cursor.joinPreviousEditBlock();
|
||||
cursor.setCharFormat(_defaultCharFormat);
|
||||
cursor.setBlockFormat(_defaultBlockFormat);
|
||||
cursor.endEditBlock();
|
||||
_inner->setTextCursor(cursor);
|
||||
_correcting = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue