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;
|
_reverseMarkdownReplacement = false;
|
||||||
_correcting = true;
|
_correcting = true;
|
||||||
|
cursor.joinPreviousEditBlock();
|
||||||
cursor.setCharFormat(_defaultCharFormat);
|
cursor.setCharFormat(_defaultCharFormat);
|
||||||
cursor.setBlockFormat(_defaultBlockFormat);
|
cursor.setBlockFormat(_defaultBlockFormat);
|
||||||
|
cursor.endEditBlock();
|
||||||
_inner->setTextCursor(cursor);
|
_inner->setTextCursor(cursor);
|
||||||
_correcting = false;
|
_correcting = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue